Skip to main content
GET
/
stores
/
{storeId}
/
cases
/
{caseId}
/
messages
List case messages
curl --request GET \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/cases/{caseId}/messages \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "items": [
      {
        "id": "<string>",
        "senderType": "CUSTOMER",
        "senderId": "<string>",
        "body": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "attachments": [
          {
            "id": "<string>",
            "filename": "<string>",
            "mimeType": "<string>",
            "sizeBytes": 123
          }
        ]
      }
    ],
    "pagination": {
      "page": 123,
      "limit": 123,
      "total": 123,
      "totalPages": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Store API token. Use the sk_ prefixed secret key as the Bearer token.

Path Parameters

storeId
string
required

Store ID (shp_ prefix)

Required string length: 12 - 48
caseId
string
required

Case ID (cs_ prefix)

Required string length: 12 - 48

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:50
Required range: 1 <= x <= 100

Response

Paginated list of messages

ok
boolean
required
data
object
required