Authentication
First of all, you will need a valid API token. See here how to generate one: https://help.cargosnap.com/en/articles/3130101-enable-the-api
A valid API token should be passed as a Request Header, in the form of key:value: token:api-token
All calls -be it GET or POST- to the Cargosnap API, must be authenticated by a valid API token in the HTTP request header (for legacy purpose it may also be provided as a part of the request URL, but we do not recommend that).
If an invalid API token is passed or if the API token is missing, an HTTP status of 401 Unauthorized will be returned in both the response headers and in the response status field.