Authentication

Get token

get
/get_token

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
AuthorizationstringRequired
Responses
chevron-right
200

Successful Response

application/json

Soda Cloud API token and organisation ID information to use in this API's endpoints.

userstringOptional

User's username (email addess used at sign up).

tokenstringOptional

API Token to use for authentication. This token expires. Its expiration is also provided in the response.

organization_idstringOptional

Identifier (UUID) of an organization in Soda Cloud.

expires_inintegerOptional

Token's expiration time in seconds.

get
/get_token
200

Successful Response

Last updated

Was this helpful?