Credentials
Data Appeal API is currently in its 4th major version, therefore v4
prefix has to be appended after the base endpoint https://api.datappeal.io
.
The basic endpoint of the API will then be https://api.datappeal.io/v4
.
To access the API, providing an identity is needed in order to authorize requests.
When a user starts an API subscription, three parameters are provided to allow performing API calls:
{account_id}
: identifier of the account. It can change only if passing from a Trial commercial subscription to a Purchase.{x_api_key}
: API key that allows authentication. By default,{x_api_key}
doesn't expire.{jwt_bearer}
: token that allows authorization in OAuth 2.0 Bearer Token standard format. By default,{jwt_bearer}
doesn't expire.
The following snippet shows how to include these parameters in requests.
Template
curl 'https://api.datappeal.io/v4/…/account/{account_id}/…' \
-H 'x-api-key: {x_api_key}' \
-H 'Authorization: Bearer {jwt_bearer}' \