Authentication
API Keys
TokenSource uses API keys to authenticate requests. You can manage your API keys through the TokenSource Dashboard.
Key Types
Test Mode Keys: Prefix
ts_test_
Live Mode Keys: Prefix
ts_live_
Making Authenticated Requests
Include your API key in the Authorization
header as a bearer token:
Security Requirements
All API keys must be kept secure and private
Never expose API keys in:
Public repositories
Client-side code
Version control
Public forums
Connection Requirements
All requests must use HTTPS
Plain HTTP requests will fail
Unauthenticated requests will fail
Example Request
Last updated