Authentication

Authentication is a critical component of Travellers Choice API platform, allowing authorized agents to access and utilize the services and features of our system securely. We use a combination of the agent code, email, and password for the authentication process. Here's how it works:

// Live endpoint 
https://secure.mytravellerschoice.com/api

// test endpoint
https://test-api.mytravellerschoice.com/api

Authenticate Endpoint

POST https://secure.mytravellerschoice.com/api/login

We use a combination of the agent code, email, and password for the authentication process.

Request Body

Name
Type
Description

agentCode*

String

email*

String

password*

String

{ "reseller":

{ "email": "[email protected]",

"name": "test",

"companyName": "test21",

"agentCode": 10449

},

"jwtToken": "jwttokendasfasdaseEAWgDSGGEasfdsfds"

}

API Integration is exclusively available to users who are currently registered with My Travellerschoice B2B. Our API allows you to create orders based on your available wallet balance. If you have not yet registered as a B2B user, you can complete the registration process by clicking on the following link https://b2b.mytravellerschoice.com/register. If you need any assistance with the integration, please don't hesitate to contact us at [email protected].

Last updated