Triggered when field workers start or finish their trips.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Trip event payload
Unique identifier for the trip
Email address of the field worker
Organization ID associated with the trip
Associated task ID (if applicable)
Email of the person who created/initiated the trip
Trip start time
Current latitude
Current longitude
Distance traveled
Trip duration
Event type (e.g., otw for on the way)
Whether this is the latest trip log entry
Return 200 status to indicate that the data was received successfully