Skip to main content
GET
/
oauthAccounts
/
{oauthAccountId}
/
accessToken
Get the access token for a user OAuth account
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/oauthAccounts/{oauthAccountId}/accessToken \
  --header 'Authorization: Bearer <token>'
{
  "accessToken": "<string>",
  "scopes": [
    "openid",
    "email",
    "profile"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

oauthAccountId
string
required

UUID of a user oauth account

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

Successful response

accessToken
string
required

OAuth access token for the user's connected social account

scopes
string[]
required

OAuth scopes granted to the access token, as captured at the time of token issuance. Empty array when the provider did not surface scopes or when the token predates scope capture.

Example:
["openid", "email", "profile"]