Skip to main content

1. Create your account and project

Open Polymorfa, sign up with email OTP, passkey, or an enabled social provider, then complete team and project setup. Save the project ID shown in the Console.

2. Create a team key

Open the team without selecting a project, then open Settings → Team API Keys and choose Create team key. Give it the narrowest scopes for the task. This quickstart needs quicklink:manage, sessions:read, messages:write, and webhooks:manage. A project token can access Messaging and Platform resources within its project when its scopes permit the action.
Team keys retain the pmfa_ prefix. The secret is shown once. Create a persistent QuickLink from your backend:
Send the returned url to the person holding the phone, or open it yourself. The hosted page displays the QR code or pairing code and confirms the connection. Do not log the URL; it is the credential for this pairing flow.
Save the session value from the QuickLink response. It is the {session} value in session-scoped paths. Direct QR and pairing-code retrieval is not part of the standard customer API; those endpoints return 403. See QuickLink for status polling, callbacks, and cancellation.

4. Send a message

Set conversation.phoneNumber to the recipient’s international E.164 phone number, including +. Put exactly one message kind inside content.
The request schema also supports image, file, voice, video, poll, location, contact, product, product-list, order, single-select list, native-flow button, address collection, and published Flow messages. See the Send a message method for the exact required fields per type. Message sends begin immediately and do not change the session’s presence or emit a typing or recording indicator. Call the presence or typing operation explicitly when your application needs that behavior.

5. Register a signed webhook

Verify X-Webhook-Signature over the raw body before processing. For a Meta-compatible consumer, set format to meta and verify X-Hub-Signature-256 instead. See Webhooks.

Messaging

Browse messaging and conversation methods.

Teams and accounts

Automate team and project workflows.

Business tools

Manage business profiles, catalogs, and templates.

Sandbox

Test without real WhatsApp traffic.