Authenticating API requests
Written By John Bromley
Last updated 4 months ago
All Sendr API requests must include your API key in the request header.
Header format
Include your API key as a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEYExample request
curl https://api.sendr.io/sheets \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"Common authentication errors
If you receive a 401, check that your key is correctly formatted in the header and has not been revoked. See "Creating and revoking API keys" if you need to generate a new key.
Was this helpful?
More in API & Webhooks
Getting started with the Sendr APIWhat events does Sendr send to your webhook?Verifying webhook requestsStill need help? Ask the team