HomeBook a Demo

Token

Partner API v1 reference for checking a token: its organization, scopes, and expiry.

Base URL: https://partner-api.getinline.tech (production). Every request needs Authorization: Bearer <token>; see authentication. This page is generated from the OpenAPI spec, version 1.0.0; download it at /openapi/partner-api.yaml.

Check a token and return its organization and scopes

GET /v1/ping

Required scope: none.

Works with any valid token regardless of scopes.

Response

  • 200: The token is valid.

Headers: X-Request-Id.

dataPingResultRequired

Errors

Every error uses the error envelope.

StatusMeaning
401The token is missing, malformed, unknown, revoked, or expired.
429Too many requests. Limits are 300 requests per 5 minutes per token and 1000 per 5 minutes per IP. Honor Retry-After when present, otherwise back off exponentially.
500Something went wrong on our side. Retry with backoff.

Example

curl "https://partner-api.getinline.tech/v1/ping" \
  -H "Authorization: Bearer $INLINE_API_TOKEN"