[POST] Client Credentials Access Token
Last updated
Last updated
Use this request to obtain an access token to authenticate against the SmartDocumentor API.
We use the for authentication with external client applications.
To find out how you can obtain your own Client ID / Client Secret pair, check the section.
POST
/connect/token
grant_type
client_credentials
scope
WebAPI
Age The scope(s) used to request access. MUST always be "WebAPI".
client_id
{your Client ID}
client_secret
{your Client Secret}
Response Body AccessTokenResponse
access_token
string
Your new access token. Add this to future requests as a Bearer token to perform authenticated requests against the API.
expires_in
integer
Tokens have a default expiration time of 3600 seconds (1 hour).
token_type
string
The type of token you issued. Always "Bearer".
scope
string
The scopes your access token has access to, seperated by spaces. Will always be "WebAPI".
The grant type used to request the token. Always "client_credentials" as per the
Your , tied to your organization.
Your , tied to your Client ID.
Check if your Client ID and Client Secret pair is correct and has not expired. Head to the section to learn more.