Skip to main content
POST
Create customer pairing link

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

Path Parameters

customerId
string<uuid>
required

Identifier for the customer.

Value constraints

Body

application/json
projectId
string<uuid>

Identifier of the Polymorfa project that owns this resource.

Value constraints

expectedPhone
string | null

Optional expected phone, normalized to E.164.

Accepted alternatives

methods
enum<string>[]

Connection methods enabled for the widget.

Allowed item values

Value constraints

Required array length: 1 - 2 elements
Available options:
qr,
phone
expiresInSeconds
integer
default:86400

Specifies expires in seconds for this management create customer pairing link request.

Value constraints

Required range: 900 <= x <= 604800
locale
enum<string> | null

Specifies locale for this management create customer pairing link request.

Allowed values

Accepted alternatives

Available options:
en,
pt-BR,
null
theme
enum<string> | null

Visual theme used by the widget.

Allowed values

Accepted alternatives

Available options:
light,
dark,
system,
null

Response

Success

data
object
required

Structured data carried by this object.