Authentication

For more information about the Expires-at and Signature headers, see Signature page of the guides.

Client ID and Service secret

The Client-id and Service-secret headers should be passed in with every request. Keep in mind that you can obtain these keys on your Secrets page.

Here’s an example request listing all the countries that the API currently supports.

curl -v -H "Accept: application/json" \
        -H "Content-type: application/json" \
        -H "Expires-at: 1893448800" \
        -H "Signature: 0o6Lg...RSFg=" \
        -H "Client-id: CLIENT_ID" \
        -H "Service-secret: SERVICE_SECRET" \
        -X GET \
        https://www.saltedge.com/api/v3/countries