Skip to main content
Access to individual endpoints can be restricted per account. If a request to this endpoint returns 403 with error code endpoint_not_enabled and you expect to have access, contact your account representative.
Use this endpoint to retrieve account details for the account associated with your bearer token. The response includes your account identity, rate limit configuration, and a breakdown of usage per product.

Endpoint

Request

This endpoint takes no query parameters or request body. You only need to supply your Authorization header.

Headers

string
required
Your bearer token in the format Bearer <token>. All requests to the Affiliate.com API require this header.

Example request

Responses

200 — Success

Returns a JSON object with your account details, usage statistics, and product billing information.
string
The account’s unique identifier.
string | null
The account’s team name.
integer
The maximum number of API requests your account can make per minute.
boolean
Whether your account has permission to toggle short URL generation.
integer
The maximum number of product search results returnable per query.
integer
The maximum number of product search results returnable per page.
array
The products your bearer token has active. Only products the account currently has active are returned — an account with nothing active gets an empty array. Each entry includes usage counts and an optional billing cycle.
object
Metadata about the response.

Example response

401 — Unauthenticated

Your bearer token is missing, expired, or invalid. Verify that you are passing the correct token in the Authorization header.

429 — Rate Limit Exceeded

You have exceeded your account’s api_request_rate_limit. Wait until the next minute window before retrying.