SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Order Messages

List order messages

GET/api/v1/orders/:id/messages

Lists the chat thread between buyer and rider for a delivery in progress. Accessible to the buyer and the assigned rider.

Requires Authorization
Session

Path parameters

idstringrequired
Order ID.
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/orders/:id/messages \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": [
    {
      "id": "msg_1a2b3c",
      "orderId": "ord_5e6f7a",
      "senderId": "3f2a1c9e",
      "body": "Je suis devant la porte bleue, merci.",
      "isRead": false,
      "createdAt": "2026-02-15T10:20:00.000Z"
    }
  ]
}