Use OAuth when your product signs users in with Seamless and acts on their behalf. Each user gets their own access token; your backend stores refresh tokens securely.Documentation Index
Fetch the complete documentation index at: https://docs.seamless.ai/llms.txt
Use this file to discover all available pages before exploring further.
API keys use the
Token header. OAuth access tokens use Authorization: Bearer. Do not mix them on the same request.Register your application
Create an OAuth connection
Go to Settings → Public API, open OAuth Connections, and click Create New Connection.
Authorization code flow
1. Redirect the user to authorize
| Query param | Description |
|---|---|
client_id | Your client ID |
redirect_uri | Must match the URI registered on the connection |
state | Optional CSRF protection string you verify on callback |
redirect_uri includes query parameters, URL-encode the full URI when building this link.
After the user signs in, Seamless redirects to your redirect_uri with a code query parameter.
2. Exchange the code for tokens
3. Call the API with the access token
4. Refresh an expired token
Next steps
- First API request — runnable search → research → poll flow
- Rate limits & credits — headers on every response
- Troubleshooting — 401 and token issues
