Trip watches
Create a trip watch
x-api-key<token>
Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.
In: header
Header Parameters
x-request-id?string
Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/watcher/travel/hotel/trip-watches" \ -H "Content-Type: application/json" \ -d '{ "destination": "string", "check_in": "2019-08-24", "check_out": "2019-08-24", "currency": "str", "guest_nationality": "st", "trigger": { "type": "below_total", "amount": 1 } }'{}