Authentication

You'll need to authenticate your requests to access any of the endpoints in the Zamp API. In this guide, we'll look at how authentication works.

Token authentication

The Zamp API uses bearer tokens to authenticate requests for your account. The token should be included in all requests using the HTTP Authorization header. Here's how to add the token to the request header using cURL:

Example: request with bearer token

curl https://api.zamp.com/transactions \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.

Was this page helpful?