Brand
Messaging
Customers Messages

List Customer Messages

This API allows retrieving all messages associated with a specific customer. It provides a complete view of the communications between the customer and the system, including order-related messages.

Overview

  • Method: GET
  • Path: /brand/messaging/customers/<customerId>/messages
  • Tags: brand

Use Cases

  • View all messages sent to or from a specific customer.
  • Track order-related communications.

Parameters

customerId (path)

  • Type: string
  • Required: Yes
  • Description: customerId parameter

limit (query)

  • Type: object
  • Required: No
  • Description: limit query parameter

offset (query)

  • Type: object
  • Required: No
  • Description: offset query parameter

search (query)

  • Type: string
  • Required: No
  • Description: search query parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "messages": [
    {}
  ],
  "count": 123
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  https://api.pillexa.com/brand/messaging/customers/<customerId>/messages \
  -H "Content-Type: application/json" \