Generate a debug token for a project

Creates a temporary debug token for a project. This token can be used with the Convert tracking script
(e.g., via the convert-debug-token header or query parameter) to preview draft or paused experiences,
or to force specific variations for QA purposes without affecting live experiment data.
The token has a limited time-to-live (TTL).

If the project already has a valid (non-expired) debug token, that token is reused and no new token is
generated. Pass force_regenerate=true to always issue a brand new token, which invalidates the previous one.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the account that owns the retrieved/saved data

integer
required

ID of the project

Query Params
boolean
Defaults to false

When true, a brand new debug token is always generated and the previous one is invalidated,
even if the current token is still valid. When false (default), an existing valid token is
reused instead of generating a new one.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json