Skip to content
Ads API •References / capi-measurement / Create CAPI Auth Token

Create CAPI Auth Token

Create a new long-lived JSON Web Token to authenticate CAPI requests

Request

  • business_id
    string [uuid]
    Required

    A unique identifier for the entity.

    Example: ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
  • capi_connection_id
    string [uuid]
    Required

    A unique identifier for the CAPI integration.

    Example: 2fd920ed-a111-43d4-bee2-74d078c479a5

Response

A new JWT token for Authentication.

    • capi_auth_token_id
      string [uuid]

      A unique identifier for an Authentication Token.

      Example: "bb7a8ba9-f77a-11ee-ae13-42010a8e0056"
    • capi_auth_token
      string

      A JSON web token to be included in CAPI event calls.

      Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl9pZCI6IjMxNTRjMzEzLTliNmYtNDYzNS1hNjE2LTAzNTJhODI0ODBkOCJ9.QBADF2P0S-WCEB7wluhvMxRRHcIazAyiitzeFPqZ_xY"
    • created_at
      string [date-time]

      Date the entity was created. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ

      Example: "2026-01-23T04:56:07Z"

Response sample