Authentication OAuth 2.0
The Decision Cloud API uses scoped OAuth2.0 access tokens to authenticate requests. You can create an access token by making a request to the /oauth/token endpoint.
TIP
Before you can make requests to the Decision Cloud API, you will need to grab your client credentials from your dashboard.
Authenticating Endpoints
All endpoints require authentication. Authenticate requests to this API's endpoints by sending an Authorization header with the value Bearer {ACCESS_TOKEN}. Here's how to add the access token to the request header using cURL:
sh
curl {{ decisionCloudProductionApiEndpoint }}/oauth/token \
-H "Authorization: Bearer {ACCESS_TOKEN}"Creating Access Tokens
Now that you know how to use an access token in your requests, let's go and create one.
Create Access Token -->Refreshing Access Tokens
No refresh token is issued. The client can make the same call again to obtain a new access token.