Pour générer un jeton de session, vous devez fournir un ID client et un secret client valides.
Pendant la bêta fermée, vous pouvez obtenir vos clés API en contactant notre équipe Customer Success.
Utilisez ce point de terminaison pour générer un jeton d’accès temporaire
Utilisez ce point de terminaison pour révoquer un jeton d’accès généré précédemment
Generate token
gb | au
OK
Not Found
Unprocessable Entity
Internal Server Error
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
OK
Not Found
Unprocessable Entity
Internal Server Error
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