Skip to main content
POST
/
oauth
/
accessToken
Get an access token
curl --request POST \
  --url https://api.seamless.ai/api/client/v1/oauth/accessToken \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "redirect_uri": "<string>",
  "code": "<string>",
  "refresh_token": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_at": 123,
  "refresh_token": "<string>"
}

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.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
client_id
string
required
client_secret
string
required
redirect_uri
string
required
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
code
string

Required if grant_type is authorization_code

refresh_token
string

Required if grant_type is refresh_token

Response

The access token

access_token
string
expires_at
integer
refresh_token
string