Get Token

Getting authentificated to request APIs

To access some Sirdata's APIs, you must generate an authentication token.

Get Token

GET https://partner-api.sddan.com/api/v1/public/auth/partner/:id/token

Have a look of the JSON Body Request and Response

Path Parameters

NameTypeDescription

id

string

Your Sirdata's partner id

Request Body

NameTypeDescription

login

string

The user's login requesting the authentification token

password

string

The user's password

{
  "token": "-njtsdfsjookdbyekkcuzoldsrl",
  "partner_id": 12345,
  "expiration_time": "2019-12-11T17:52:30.821624721+01:00"
}

Partner id

Please note that your partner id refered as id into the Path Parameters (see below) will be provided by your Sirdata's technical AM once API Access has been granted.

Authentification Token created

Once you generate the authentication token, we are ready to request Sirdata's APIs. Include the token from the JSON response as a header in all other API calls.

Below is an example of a header that includes the token used to make subsequent API call.

Authorization: -njtsdfsjookdbyekkcuzoldsrl

Please note that both legal and sales agreements must be signed prior, otherwise the authentification token won't allow access.

You can refer to the API Access section for more information.

pageAPI Access

Last updated