Gozem Developer DocsDocs
Courier API › Trip

Send Trip Message

posthttps://sandbox-api.gozem.co/courier/v1/trips/{trip_id}/messages

Send a message to the driver during an active trip.

Path parameters

stringrequired

Trip ID (TRP_xxx format or numeric ID)

min 1 charspattern ^(TRP_\d+|\d+)$

Body parameters

stringrequired

Message to send to the driver

1–1000 chars

Response 200

dataobjectrequired

The message queued for the driver

chat_idstringrequired

Unique message chat identifier

contentstringrequired

Message content

datestringrequired

Message sent timestamp

date-time
trip_idstringrequired

Unique trip identifier

messagestringrequired

Human-readable outcome. Defaults to `Ok`.

successbooleanrequired

Always `true` on a success response.

true

Errors

Every failure returns the same envelope. Branch on code — it is the stable contract; message is human-facing and may be reworded or localized. See the error reference for what each code means.

400401403404405409413415429500502