Atlas API-Sabre
  1. Other Functions
Atlas API-Sabre
  • Shopping and Ticketing
    • Search
      POST
    • Verify
      POST
    • Order
      POST
    • Order Commit
      POST
    • Payment
      POST
    • Retrieve Booking
      POST
    • Smart Search
      POST
    • Get Offer
      POST
    • Seat Availability
      POST
    • Get Luggage
      POST
  • Post Ticketing Service
    • Search Ancillary
      POST
    • Order Ancillary
      POST
  • Notifications and Webhook
    • Register Webhook
      POST
    • Incident List
      POST
  • Refund
    • Refund Quotation
      POST
    • Make a Refund
      POST
    • Query Refund Status
      POST
  • Other Functions
    • Regenerate Order
      POST
    • Stop Ticket Issuance
      POST
    • Order List
      POST
    • PNR Claim
      POST
    • Get Balance
      POST
    • City Pairs API
      POST
    • Email List
      POST
    • Extract PNR
      POST
    • getAtripToken
      POST
  1. Other Functions

getAtripToken

POST
/getAtripToken.do

Request

Header Params
Accept
string 
required
Default:
application/json
Content-Type
string 
required
Default:
application/json
Accept-Encoding
string 
required
Default:
gzip
x-atlas-client-id
string 
required
Default:
<YOUR_CLIENT_ID>
x-atlas-client-secret
string 
required
Default:
<YOUR_CLIENT_SECRET>
Body Params application/json
orderNo
string 
required
Order number. It can be an order for ticketing, or an order for add bags. The format of each kind of order is different.
userName
string 
required
This is to identifier the operator's name in client's system, Atlas will grant access to this operator and track his/her actions in Atlas customer service portal.
role
string 
required
This is to identify the operator's role. Atlas will grant access to this operator according to the role assigned. Here are the acceptable options:
Customer service : Access to manage orders and request post ticketing services
Finance : Access to manage the balance and check statements
Developer : Access to manage the system configurations
Admin : Full access
Example
{
    "orderNo": "string",
    "userName": "string",
    "role": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.atriptech.com/getAtripToken.do' \
--header 'Accept;' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderNo": "string",
    "userName": "string",
    "role": "string"
}'

Responses

🟢200Success
application/json
Body
url
string 
required
A url with token to access to Atlas customer service portal.
status
integer 
required
0: success
2: System error
3: unauthorized access
msg
string  | null 
optional
Error message.
The 'msg' element is for description of the results. Please DO NOT use this field to check the success or failure of the request. Only use the 'status' code to check the result.
Example
{
    "url": "string",
    "status": 0,
    "msg": "string"
}
Modified at 2025-06-12 09:04:16
Previous
Extract PNR
Built with