API Reference
GET Trip

Get detail trip

/external/trip/detail

Returns pesawat / hotel lines for an SPPD. After submit with no booking, keterangan_* and servicefee_* are []. Sample below is the ISSUED shape after booking. Field names use pesawat (not 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.
id Required query 0190/02/061/PLNE/2026 SPPD noreg.

Notes

  • After Sync submit with no flight/hotel booking: keterangan_hotel, keterangan_pesawat, keterangan_train, servicefee_hotel, servicefee_pesawat, servicefee_train are all [].
  • keterangan_* fills from booking inventory only. from_to uses airport names when available.