Authentication

Snipcart is using HTTP Basic Auth, all you will need to do is create a secret API Key in the dashboard.

You can create as many secret keys as you want, make sure to not give these keys to anyone as they will be able to access all your account informations.

You can create keys in Test or Live mode, each key will give you the permissions to make requests for the specified mode only, a key created in Test mode will not be valid to get your Live data.

curl -H "Accept: application/json" \
  https://app.snipcart.com/api/orders \
  -u {API_KEY}: