Skip to main content

Stratech Identity (1.0.0)

Download OpenAPI specification:Download

Endpoint for getting tokens.

There are 4 different flows that can be used on this endpoint.

  • The client_credential flow
  • The authorization_code flow.
  • The refresh_token flow.
  • The token_exchange flow.

See Examples for more information about the different flows.

Request Body schema: application/x-www-form-urlencoded
One of
client_id
string

The client id, you will have received this from your contact at Stratech.

client_secret
string

The client secret, you will have received this from your contact at Stratech.

grant_type
string
Value: "client_credentials"

Responses

Request samples

Content type
application/x-www-form-urlencoded
Example

This flow is used for getting a token that can receive partner data.

You will have received the client_id and client_secret from your Stratech contact.

client_id=example_client&client_secret=secret&grant_type=client_credentials

Response samples

Content type
application/json
Example

use the access_token for retrieving partner data.

{
  • "access_token": "example_access_token",
  • "expires_in": 3600,
  • "token_type": "bearer",
  • "scope": "booking.partner"
}