View on GitHub

api-documentation

RESTful API for MyTourist

Back to overview


Obtain bearer token

This function makes it possible to request a bearer token on behalf of your customer in order to use the API. This way your customer does not have to log in to mytourist first to request his or her bearer token.

For this endpoint, your own authentication bearer token in MyTourist must be marked as certified. Please contact us or start a ticket to begin the certification process.

POST https://app.mytourist.cloud/api/v1/obtain-bearer-Token

Query Parameters

emailrequired
passwordrequired

HTTP responses

200OKReturns the bearer token.
400FAILEDValidation fails (email/password required).
403FAILEDCredentials (email, password or both) incorrect.