Core concepts

The data model, request and response format, and platform limits that every Kustomer integration builds on.

Every Kustomer API, from the REST endpoints to webhooks, workflows and apps, works with the same records and follows the same conventions. Read these pages once and the rest of the platform is predictable.

Data model

Kustomer organizes everything around the customer. Conversations, messages, notes and custom objects all hang off a customer and appear on their timeline.

API conventions

The short version

If you only remember five things:

  1. Requests go to your org's host, https://<org>.api.kustomerapp.com, with Authorization: Bearer <API key>. See regions and base URLs.
  2. Responses wrap records in data, with fields under attributes and links to other records under relationships. See request and response format.
  3. Lists are paged. Follow links.next until it's null instead of computing page numbers. See pagination.
  4. The request budget is shared by the whole org, across every API key and app. Read the x-ratelimit-* headers and back off on 429. See rate limits.
  5. Every change emits an event such as kustomer.conversation.update, which you can receive with webhooks or act on in workflows.