Skip to main content
This is the simplest way to call the Aries API when your app only ever acts as one user. If you are building an integration that signs in on behalf of many different users — a partner/business integration — use the Authorization Code flow instead.
Only user-scoped (personal-token) clients may use this grant.
  • Allowed: personal-token clients — client IDs like ARI-PERSONAL-TK.<entropy>, which are bound to a single user. The issued token acts as that user.
  • Not allowed: business/partner clients — client IDs like ARI-PARTNER.*. These receive an unauthorized_client error and must use the interactive Authorization Code flow instead.

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) and client_secret.
  • Secure storage — Somewhere safe to keep the client_secret, such as environment variables or a secrets manager.
The client_secret is shown only once when you create the client. Copy it immediately and store it securely. If lost, regenerate it in Client Center / Manage Account.

Step 1: Request an access token

Send your credentials to the token endpoint. The endpoint accepts the request body as either application/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 returns 200 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 the Authorization header for every API request.
Tokens expire after 15 minutes. When you get a 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.