Send message
Protocols: Linked Device API · Meta Cloud API
Required scope: messages:write
Send a message to a conversation. Put exactly one message kind inside content. Testing sessions send only to active testing numbers in the same project; supply the recipient phoneNumber.
Authorizations
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.
Headers
Unique key, 1 to 255 bytes of UTF-8, that makes this write safe to retry for 24 hours. A retry with the same key, credential, Polymorfa-Version, and request never runs the write again: it returns 409 idempotency_completed when the original succeeded, or the original server error, with Idempotent-Replayed: true. Reusing the key for a different request returns 409 idempotency_conflict; a retry while the original is still running returns 409 idempotency_in_progress, and a retry after an unrecorded outcome returns 409 idempotency_outcome_unknown.
Value constraints
1 - 255Path Parameters
Identifier of the connected Polymorfa session.
Body
Specify conversation and content containing exactly one message kind. Shared options remain outside content.
Public conversation identifier or E.164 phone number.
Accepted alternatives
- Option 1
- Option 2
- Option 3
Specifies content for this native send message request.
Accepted alternatives
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
Mark this message as forwarded.
User IDs to mention in this message.
Value constraints
Opaque Polymorfa resource ID. Keep this value as a string.
^[1-9][0-9]{0,18}$Specifies quoted message for this native send message request.