Skip to content

Authentication

Firstly you will need to retrieve your API key. If you haven’t created one yet, follow the steps in this guide.

API keys need to be provided in the Authorization header of your request, as a bearer token.

The content type of your request should be application/json.

As an example, let’s make a request to retrieve your projects:

Terminal window
curl -X GET \
https://emailshepherd.com/api/v1/projects \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json'

To see a full list of available endpoints and their parameters, head over to the API reference.