Exchange Client Credentials/ Refresh Access Token

This endpoint exchanges your client assertion generated earlier for an api token used to access the endpoints. Also call this endpoint to refresh your api token when it expires

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Defaults to client_credentials

This is the type of your app. Use 'client_credentials' for private apps and 'authorization_code' for public apps.

Allowed:
string
required

This is your OAuth Client ID which can be gotten from your app page on the Safe Haven dashboard.

string
required

This is the client assertion you generated earlier.

string
required
Defaults to urn:ietf:params:oauth:client-assertion-type:jwt-bearer

This is the client assertion type.

string

Pass your refresh token when you want to generate a new api token.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json