Public Data
Watch a trip: re-assessed every 30 minutes, new risk pushed to email, Slack, Teams or your webhook
Same itinerary shape as /trips/assess plus external_id (your trip id; sending it again updates the trip), traveler and notify (emails, slack_webhook, teams_webhook, webhook). Returns the first assessment and, on creation, webhook_secret for verifying X-TRK-Signature: sha256=HMAC(secret, body). Problems already present at creation are in the response; later ones are pushed once each. Watching ends a day after the last segment.
post/api/v1/trips
Request
- Base URL: https://api.travelriskapi.com
- URL: https://api.travelriskapi.com/api/v1/trips
- Auth: API key in header X-API-Key
Request body
object required
Example request
{
"external_id": "T-1001",
"traveler": {
"name": "Ana Silva",
"email": "ana@example.com"
},
"notify": {
"emails": [
"travel@example.com"
],
"webhook": "https://example.com/hooks/travel-risk"
},
"segments": [
{
"type": "flight",
"flight": "UA1",
"from_airport": "SFO",
"to_airport": "SIN",
"start": "2026-11-02T22:40:00Z"
},
{
"type": "stay",
"country": "SGP",
"end": "2026-11-06T09:00:00Z"
}
]
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.