Skip to main content
POST
/
oauth
/
token
Error
A valid request URL is required to generate request examples
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "your-scope"
}

Body

application/json
grant_type
enum<string>
required

OAuth 2.0 grant type. Must be client_credentials.

Available options:
client_credentials
Example:

"client_credentials"

audience
string
required

API identifier/audience for the access token.

Example:

"your-audience"

client_id
string
required

Your client identifier issued by Wealthyhood.

Example:

"your-client-id"

client_secret
string<password>
required

Your client secret issued by Wealthyhood.

Example:

"your-client-secret"

Response

Access token successfully issued.

access_token
string
required

The bearer token to include in API requests. Use this token in the Authorization header as Bearer <access_token>.

Example:

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ..."

token_type
enum<string>
required

Token type. Always Bearer for this API.

Available options:
Bearer
Example:

"Bearer"

expires_in
integer
required

Number of seconds until the access token expires. Request a new token before expiration to maintain uninterrupted API access.

Required range: x >= 1
Example:

3600

scope
string
required

Granted scope for this token.

Example:

"your-scope"