Analytics

Create an analytics token

Changed on

Creates a token for submitting analytics events, valid for five minutes.

post/analytics/ingest-token

Request

Headers

x-api-keystring

API key for authentication

Example:your-api-key

Response

Analytics ingest token and its expiry

tokenstring required

Purpose-limited JWT authorizing analytics event ingest for five minutes

expiresAtstring date-time required

UTC expiry matching the JWT exp claim

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expiresAt": "2026-08-25T14:35:00.000Z"
}

Changes

    • info

      the endpoint scheme security internalProjectBearer was added to the API

    • info

      the endpoint scheme security tenantApiKey was added to the API

    • info

      the header request parameter x-api-key became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status