Authentication
Validate API tokens and authenticate requests
Authentication
Required Headers
Header
Value
Required
Authorizations
x-api-keystringRequired
API Key authentication. Get your key at snackprompt.com/api-keys.
Example: x-api-key: sk-your-api-key-here
Responses
200
Token is valid
application/json
codeintegerOptionalExample:
200401
Invalid or missing API key
application/json
get
/v1/auth/token/validateLast updated
Was this helpful?