Skip to content
view raw .md

OAuth 2.0

OAuth 2.0 authorization and token endpoints used by select third-party integrations that hold a Dailybot OAuth client.

GET/oauth/authorize/OAuth 2.0

OAuth2 authorization endpoint (registered OAuth applications)

Standard OAuth2 authorization endpoint for registered OAuth applications (integration partners). A person opens it in a browser with a signed-in Dailybot session to approve the application. This is not an agent authentication method: agents use an API key or the CLI login.

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
POST/oauth/token/OAuth 2.0

OAuth2 token endpoint (registered OAuth applications)

Standard OAuth2 token endpoint for registered OAuth applications (integration partners). The OAuth client authenticates with its client_id and client_secret; it takes no API key. This is not an agent authentication method: agents use an API key or the CLI login.

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
400Validation error
curl -sS -X POST 'https://api.dailybot.com/oauth/token/' -u '<client_id>:<client_secret>' -d 'grant_type=authorization_code' -d 'code=<code>' -d 'redirect_uri=<redirect_uri>'

Try it

This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.