Get Token

Getting authentificated to request APIs

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

get
Get Token

https://partner-api.sddan.com/api/v1/public/auth/partner/:id/token
Have a look of the JSON Body Request and Response
Request
Response
Request
Path Parameters
id
required
string
Your Sirdata's partner id
Body Parameters
login
required
string
The user's login requesting the authentification token
password
required
string
The user's password
Response
200: OK
Example response for a valid Token creation
{
"token": "-njtsdfsjookdbyekkcuzoldsrl",
"partner_id": 12345,
"expiration_time": "2019-12-11T17:52:30.821624721+01:00"
}
400: Bad Request
Invalid input request
401: Unauthorized
Unauthorized access

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.