Authenticating against our API
The Pushologies API can be accessed using a two part authentication method, consisting of a key
and a secret
.
This can be obtained from our portal by following our guide here.
To actually authenticate when making an API call, you just need to set two headers on each request:
x-api-key
and
x-api-secret
and that's it!
- Example curl command
The example below shows how you would use your API key and secret to retrieve a list of (subscribers)[https://docs.pushologies.com/reference/subscribers]
curl --request GET \
--url 'https://api.pushologies.com/v1/subscribers?limit=100&offset=0' \
--header 'accept: application/json' \
--header 'x-api-key: your-api-key' \
--header 'x-api-secret: your-api-secret'
You can see our full API reference here and if you paste in your key and secret, you can even try it out in your browser.
Updated over 4 years ago