Skip to main content
POST
/
stores
/
{storeId}
/
cases
/
{caseId}
/
messages
Reply to a case
curl --request POST \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/cases/{caseId}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "attachments": [
    {}
  ]
}
'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "senderType": "CUSTOMER",
    "senderId": "<string>",
    "body": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "attachments": [
      {
        "id": "<string>",
        "filename": "<string>",
        "mimeType": "<string>",
        "sizeBytes": 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

Body

application/json
body
string
required
Required string length: 1 - 4000
attachments
object[]

Not supported via store tokens — attachments must be added from the merchant dashboard.

Maximum array length: 5

Response

Message created

ok
boolean
required
data
object
required