Generate Auth Token
Generates a new authentication token for API access.
Documentation Index
Fetch the complete documentation index at: https://docs.perplexity.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Optional name for the authentication token to help identify its purpose.
"Production API Key"
Response
Successfully generated authentication token.
The newly generated authentication token. Store this securely as it cannot be retrieved again.
"pplx-1234567890abcdef"
Unix timestamp (in seconds) of when the token was created.
1735689600
The name associated with this token, if provided.
"Production API Key"