Skip to main content
Use this endpoint to retrieve account details for the team associated with your bearer token. The response includes your team identity, rate limit configuration, and a breakdown of request 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 team details, usage statistics, and product billing information.
integer
The unique identifier for your team.
string
The display name of your team.
integer
The maximum number of API requests your team can make per minute.
boolean
Whether your team has permission to toggle short URL generation.
integer
The maximum number of product search results returnable per query.
integer
The total number of API requests your team has made.
integer
The number of API requests made since your most recent payment.
array
The products your bearer token has active. Each entry includes a request count and 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 team’s api_request_rate_limit. Wait until the next minute window before retrying.