Skip to main content
POST
Create customer

Authorizations

Authorization
string
header
required

Polymorfa server credential: a scoped pmfa_ organization key, or a pmfa_pt_ project token on project- and session-bound operations inside its exact authenticated project. Keys may be personal or service-account owned. Both enforce selected action scopes; organization keys can address team resources and every project in the organization. Listener and browser client credentials are rejected.

Headers

Idempotency-Key
string
required

Specifies idempotency key for this header parameter.

Value constraints

Required string length: 1 - 255

Body

application/json
projectId
string<uuid>

Identifier of the Polymorfa project that owns this resource.

Value constraints

name
string | null

Human-readable name for this resource.

Accepted alternatives

Value constraints

Required string length: 1 - 120
phone
string | null

Phone number normalized to E.164.

Accepted alternatives

externalCustomerId
string | null

Identifier for the external customer.

Accepted alternatives

Value constraints

Required string length: 1 - 200

Response

Success

data
object
required

Structured data carried by this object.