Skip to main content

Customer Endpoints

These endpoints let you manage customers within your organization. Some routes also provide access to additional data such as feedback, highlights, insights, and issues related to specific customers.

List Customers

GET /api/v1/organizations/{org_uuid}/customers Returns a paginated list of customers in the specified organization.

Path Parameters

  • org_uuid (string) – The UUID of the organization.

Query Parameters (optional)

  • uuids (comma-separated string) – Filter by specific customer UUIDs.
  • page_size (integer, default: 25)
  • page_number (integer, default: 1)
  • sort_by (string, default: last_interacted_date)
  • sort_direction (string, default: desc)
  • Other optional filters like company_uuids, personas, search, etc.

Example Request

GET /api/v1/organizations/abc123/customers?page_size=10

Example Response


Create Customer

POST /api/v1/organizations/{org_uuid}/customers Creates a new customer within the specified organization.

Path Parameters

  • org_uuid (string)

Request Body

Example Request

Example Response


Get Single Customer

GET /api/v1/organizations/{org_uuid}/customers/{customer_uuid} Retrieves the details of a single customer.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Example Request

GET /api/v1/organizations/abc123/customers/cust-9999

Example Response


Update Customer

PUT /api/v1/organizations/{org_uuid}/customers/{customer_uuid} Updates the details of an existing customer.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Request Body

Example Request

Example Response


Get Customer Feedback

GET /api/v1/organizations/{org_uuid}/customers/{customer_uuid}/feedbacks Returns all feedback associated with the specified customer.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Query Parameters

  • sort_by, sort_direction (default: feedback_date, desc)
  • page_size (integer, default: 25)
  • page_number (integer, default: 1)

Example Response


Get Customer Feedback Highlights

GET /api/v1/organizations/{org_uuid}/customers/{customer_uuid}/feedback_highlights Lists highlights from the feedback associated with a specific customer.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Query Parameters

  • page_size (integer, default: 25)
  • page_number (integer, default: 1)

Example Response


Get Customer Insights

GET /api/v1/organizations/{org_uuid}/customers/{customer_uuid}/insights Lists insights derived from a specific customer’s feedback data.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Query Parameters

  • page_size (integer, default: 25)
  • page_number (integer, default: 1)

Example Response


Get Customer Issues

GET /api/v1/organizations/{org_uuid}/customers/{customer_uuid}/issues Lists issues associated with the specified customer.

Path Parameters

  • org_uuid (string)
  • customer_uuid (string)

Query Parameters

  • page_size (integer, default: 25)
  • page_number (integer, default: 1)

Example Response


Additional Notes

  • Pagination: All list endpoints support page_size and page_number to manage the volume of results returned.
  • Error Handling:
    • 400: Bad or missing parameters.
    • 401: Unauthorized request (missing/invalid token).
    • 404: Customer (or organization) not found.
    • 500: An unexpected internal server error occurred.
  • Filtering: Additional filter params may be available (e.g., by persona, feedback count, sentiment, etc.). Refer to the code for a full list of filters.