Skip to main content
POST
Create quick link

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Body

application/json
projectId
string<uuid>

Project that receives the connected number. Required for organization keys with more than one project.

Value constraints

customerId
string<uuid>

Customer that owns the connected number when Customers is enabled for the project.

Value constraints

methods
enum<string>[]

Connection methods offered on the hosted page. Defaults to the saved settings, then to both.

Allowed item values

Value constraints

Required array length: 1 - 2 elements
Available options:
qr,
pairing
businessName
string

Name shown to the recipient when no saved business name exists.

Value constraints

Required string length: 1 - 120
historySync
enum<string>

History synchronization behavior for newly connected sessions.

Allowed values

Available options:
ask,
force_on,
force_off
callbackUrl
string<uri>

Exact HTTPS URL without credentials. Must match a saved redirect URL.

Value constraints

Maximum string length: 2048
Pattern: ^[Hh][Tt][Tt][Pp][Ss]://
theme
enum<string>

Visual theme used by the widget.

Allowed values

Available options:
light,
dark,
system
accent
string

Specifies accent for this native create quick link request.

Value constraints

Pattern: ^#[0-9a-fA-F]{6}$
prefillPhone
string

Pre-fills the phone number for the pairing-code method.

Value constraints

Pattern: ^\+?\d{6,15}$
expiresInSeconds
integer

Link lifetime in seconds, 300–3600. Defaults to 900.

Value constraints

Required range: 300 <= x <= 3600

Response

QuickLink created

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.