GuideLab API

Get order messages

Returns messages for an order, filterable by type (all, notes, replies). Internal messages are visible only to the organization that authored them. Results are ordered by newest first.

GET
/orders/{id}/messages

Returns messages for an order, filterable by type (all, notes, replies). Internal messages are visible only to the organization that authored them. Results are ordered by newest first.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Order ID

Query Parameters

type?string

Message type filter: all, notes, replies

Response Body

application/json

curl -X GET "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/messages"
[  {    "id": "string",    "orderId": "string",    "senderUserId": "string",    "senderOrgId": "string",    "senderName": "string",    "senderOrgName": "string",    "content": "string",    "isInternal": true,    "createdAt": "string",    "updatedAt": "string"  }]
Empty
Empty
Empty