API Reference
POST Submit

Submit transport

/external/submit/transport

Create or merge a travel request as flight_only. Same noreg later on hotel submit upgrades to Hotel + Flight.

Base URL

Prod: https://corp-api.anamaya.ai · Dev: https://corp-api-dev.anamaya.ai. Protected calls send Authorization: <access_token> with no Bearer prefix.

Parameters

Name Type Example Description
Authorization Required header <access_token> Access token from /external/auth. No Bearer prefix.
noreg Required string 0002/SPPD/PLN-E/08/2026 SPPD registration number (join key).
chargeCode Required string P.5.I5.A3.23.01 Charge code from SPPD.
pic Required string sihite.ghozi@gmail.com Traveler / PIC employee email.
dataDestination Required array — Flight segments ordered by destination_no.

Notes

  • Submit creates an approved TR so corp can book immediately. Re-submit with the same noreg merges hotel/flight.
  • automation_id is stable per travel request id (same TR → same value on every submit).
  • TR budget is set from the PIC travel policy (flights × max flight + nights × max hotel/night) so Book trip appears on corp.
  • Unix timestamps in seconds for request date fields.