Access Tokens
Authentication token for securely accessing Endorsed's API endpoints
Create an Access Token
POST
https://endorsed.ai/api/v1/auth/tokens
Creates a new Access Token to be used in subsequent API calls.
Access tokens are short-lived for security reasons. Expiration times are returned in the response; please request another access token before the previous one expires to prevent any downtime in your service.
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | The content type which specifies the format to which client credentials, grant type, scope, etc. are provided (See examples below). Only supports |
Request Body
Name | Type | Description |
---|---|---|
client_id* | string | The Client ID (UUID) of the client credentials provided by Endorsed for your Organization |
client_secret* | string | The Client Secret of the client credentials provided by Endorsed for your Organization |
grant_type* | string | The grant type of the Access Token. Only |
scope | string[] OR string | List of allowed access scope strings for this API Key. Supported scopes: Type - Default - For Type - Default - |
Examples:
Using URL Encoded Form Data
Using JSON
Last updated