Skip to content

Authentication

Create the key while signed in on the company dashboard. Call the API with the key and a signature. Reveal loads the current secret again.

Create a key

Company dashboard, Credentials. One key and one secret for the account. The path chooses the role: /api/v1/affilink/client, /influencer, or /creator. Regenerating replaces both. Revoking clears them until you generate a new pair.

Headers

  • X-Api-Key — the dashboard key
  • X-Timestamp — Unix seconds, within five minutes of the server
  • X-Signature — lowercase hex HMAC-SHA256 of the payload

The payload is four lines joined by a newline: the uppercase method, the request URI (path and raw query), the timestamp, and the raw body. A GET, and a POST with no body, sign an empty body.

METHOD
/api/v1/affilink/client/me
1710000000

Errors

Failures are JSON: { "error": { "code", "message" } }. Codes include unauthorized, invalid_signature, timestamp_expired, permission_denied, not_found, validation_error, and internal_error. Do not retry a 4xx until you change the request. Retry a 5xx with backoff.

Lists

limit defaults to 25 and stops at 100. Responses include data and, when another page exists, next_cursor. Send that value back as cursor.