Authentication

Here are the different authentication methods used today:

  • API key A shared secret generated in the Plugin settings of the API.

You can use the API-Authorization: X-header with the token, this is the suggested method when posting JSON. Some APIs will also accept the older Authorization: Bearer X-header as well.

The overview section of each API Reference might also define other rules of how to authenticate.

API key

The API key is created inside the setup of the API-plugin.

Example request

1
curl -H "API-Authorization: secret" <base>/orders