Authentication

Get token

get

This enpoint allows you to obtain a limited duration API token to use in any of the other endpoints.

Make a query to this endpoint according to the HTTPBasic authentication headers (see "Live testing" section on the right).

The expiration limit of the token is given to you in the response.

Returns

An object of type GetTokenResult.

Find details about the response objects in the Schemas section or by unfurling the response details.

Authorizations
Responses
200
Successful Response
application/json
get
GET /v1//get_token HTTP/1.1
Host: reporting.cloud.soda.io
Authorization: Basic username:password
Accept: */*
200

Successful Response

{
  "user": "text",
  "token": "text",
  "organization_id": "text",
  "expires_in": 1
}

Was this helpful?