Skip to main content
A Customer represents one of your own customers inside a project. Each Customer owns the Numbers they connect. Use platform.customers on a team client.

Turn on Customers for a project

Create a Customer

externalCustomerId is your own ID for the Customer. A Customer has no phone number. Phone numbers belong to Numbers and pairing links. create, enable, archive, restore, createPairingLink, and transferNumber take a required request options argument. Pass an idempotencyKey in it. Customer and pairing-link creation require one. A pairing link lets the Customer connect their WhatsApp account:
The URL is returned only in the first response. A repeat with the same idempotency key returns url: null. Polymorfa checks expectedPhone with one of your connected Numbers. A number confirmed as not on WhatsApp fails with 400 phone_not_registered. When no connected Number can check it, the link is created anyway. List links with listPairingLinks(customerId, projectId) and withdraw one with revokePairingLink(customerId, pairingLinkId, projectId). See Pairing links.

List Customers

Follow page.data.page.nextCursor for more results. See Read every page.

Read a Customer’s Numbers and events

Move a Number to another Customer

Archive and restore a Customer

See Customers for what each Customer state means.