OAuth apps
Let other Hookbird users connect your product. You get a token that works like an API key.
Create an app
- 1In the app: Settings → Developer → create an OAuth app.
- 2Set a name, description, picture and redirect URL.
- 3Copy the client id and client secret. The secret shows once.
2. Exchange the code
bash
curl -X POST https://app.hookbird.ai/api/oauth/token \
-H "Content-Type: application/json" \
-d '{"grant_type":"authorization_code","code":"<code>","client_id":"<CLIENT_ID>","client_secret":"<CLIENT_SECRET>","redirect_uri":"<REDIRECT_URL>"}'Returns { access_token: "hb_…", token_type: "bearer" }. Tokens do not expire; the user can revoke the app.
3. Call the API
bash
curl https://app.hookbird.ai/api/public/v1/integrations \
-H "Authorization: hb_your_token"The same token works for the public API, the MCP server and the CLI.