Authentication
Last updated
Was this helpful?
Last updated
Was this helpful?
To generate a session token, you must provide a valid Client ID and Client Secret.
While in closed beta, you can obtain your API keys by contacting our Customer Success team.
Use this endpoint to generate a temporary Access Token
Use this endpoint to revoke a previously generated Access token
Generate token
gb | au
POST //{region}/v1/auth/token HTTP/1.1
Host: app.aphex.co
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"clientId": "text",
"clientSecret": "text"
}
{
"accessToken": "text",
"expiresIn": "text",
"tokenType": "text"
}
Revoke token
gb | au
POST //{region}/v1/auth/token/revoke HTTP/1.1
Host: app.aphex.co
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"clientId": "text",
"clientSecret": "text",
"token": "text"
}
text