APIs to manage trips and PNRs.
Retrieves the list of trips associated with an organization.
The List Trips /v2/list-organisation-trips
endpoint will be deprecated on May 31, 2025. After that date, calls made to the /v2/list-organisation-trips
endpoint will fail. We encourage you to start using the new List trip summaries for a company endpoint which has improved filtering and pagination.
Organization id for traveler.
curl -i -X POST \
https://apis.spotnana.com/v2/list-organisation-trips \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organizationId": {
"id": "string"
},
"updatedAt": {
"iso8601": "2017-07-21T17:32Z"
},
"pnrType": "AIR",
"customFieldIds": [
{
"type": "QUESTION",
"externalId": "string"
}
]
}'
{ "trips": [ { … } ] }
curl -i -X POST \
https://apis.spotnana.com/v2/trips \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"tripName": "string",
"tripDescription": "string",
"userId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"registrarId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}'
curl -i -X GET \
https://apis.spotnana.com/v2/trips/2398199412 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "tripId": "6926658168", "tripName": "JFK SFO Trip", "tripDescription": "JFK SFO Business Trip", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "startDate": { "iso8601": "2017-07-21" }, "endDate": { "iso8601": "2017-07-21" } }