Authentication

Operations for generating and managing API tokens

Generate JWT token

post

Generate a JWT token for SDK authentication.

Authentication

This endpoint uses client credentials (not HMAC signature). You must provide:

  • x-client-id: Your project's client ID

  • x-client-secret: Your project's client secret

Important Notes:

  • Tokens expire after the specified duration (default: 1 hour)

  • Use this endpoint from your backend to obtain tokens for frontend SDK usage

  • Never expose your client secret in client-side code

Authorizations
x-client-idstringRequired

Your project client ID from orda dashboard

x-signaturestringRequired

HMAC-SHA256 signature of canonical request body using your client secret

x-timestampstringRequired

Unix timestamp in milliseconds for replay protection (recommended)

Header parameters
x-client-idstringRequired

Your project's client ID

Example: prj_abc123def456ghi789
x-client-secretstringRequired

Your project's client secret

Example: sec_xyz789abc123def456
Body
expiresIninteger · min: 60 · max: 86400Optional

Token expiration time in seconds (default 3600 = 1 hour)

Default: 3600Example: 3600
Responses
post
/tokens

Last updated