Prerequisites
Before you implement this flow, ensure you have:- A personal-token client — Register a personal-token client in Client Center / Manage Account to get a
client_id(e.g.ARI-PERSONAL-TK.xxxxx) andclient_secret. - Secure storage — Somewhere safe to keep the
client_secret, such as environment variables or a secrets manager.
Step 1: Request an access token
Send your credentials to the token endpoint. The endpoint accepts the request body as eitherapplication/x-www-form-urlencoded (the OAuth2 standard) or application/json.
Endpoint: POST https://api.aries.com/v1/oauth2/token
Request body:
Client authentication is done with these body parameters. HTTP Basic authentication is not supported for this endpoint.
Response
A successful request returns200 OK with the token in JSON:
This grant does not issue refresh tokens. When the access token expires, simply request a new one from the same endpoint.
Step 2: Make authenticated API requests
Include the access token in theAuthorization header for every API request.
401, request a new token from the token endpoint and retry.
Errors
Errors follow the standard OAuth2 error response format:Next steps
OAuth2 Overview
Scopes, security, rate limits, and troubleshooting.
Authorization Code Flow
Interactive redirect flow for partner/business integrations.
Token API Reference
Interactive token endpoint reference.
Quick Start
Get started in minutes.