Authentication
How this API authenticates requests, and where your API keys live.
Parcel Events Sandbox API authenticates requests with the schemes below.
Your API keys
| Name | Key | Added | Last used |
|---|
ApiKey
API key (header)
Pass your key in the Parcel-API-Key request header on every call.
curl -H "Parcel-API-Key: YOUR_API_KEY" https://api.example.com/endpointBearerToken
HTTP Bearer
Send your token in the Authorization header.
Token format: opaque.
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.example.com/endpointCode example
An authenticated call to this API, ready to copy:
curl -X GET -H 'Parcel-API-Key: YOUR_API_KEY' 'https://api.example.com/v1/pickups'