POST
/testing_tokensCreate a testing token
Creates a testing token for use with Frontend API requests. Pass the returned token value in the __clerk_testing_token query parameter; the response includes its expiration time as expires_at.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
200Returns a testing token object with the token value and its expiration time as a Unix timestamp.
objectstringrequired
tokenstringrequired
The actual token. This value is meant to be passed in the `__clerk_testing_token` query parameter with requests to the Frontend API.
expires_atintegerrequired
Unix timestamp of the token's expiration time.