Sendery
Sendery

API reference

Authentication

Use a project API key to authenticate requests.

Request headers

Send your key in the Authorization header. Each key can access only its own project. A revoked key stops working immediately.

HTTP
Authorization: Bearer YOUR_PROJECT_API_KEY
Content-Type: application/json
Accept: application/json

Base URL

For direct HTTP requests, use https://sendery.co/api/v1. The SDKs default to https://sendery.co and add /api/v1 themselves. If you override an SDK’s base URL, leave out /api/v1.

Store your key

Set SENDERY_API_KEY in your server’s environment or secret settings. Never expose it in browser code or commit it to source control. If a key is exposed, create a replacement, update your application, and revoke the old key.

Shell
export SENDERY_API_KEY="your_project_api_key"