Skip to main content
POST
Send testing phone message

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.

Path Parameters

projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

session
string
required

Identifier of the connected Polymorfa session.

Value constraints

Required string length: 1 - 256

Body

application/json
to
string
required

Another Test number in the same project, in E.164 format.

Value constraints

Pattern: ^\+[1-9]\d{7,14}$
text
string
required

Text content carried by this object.

Value constraints

Required string length: 1 - 4096

Response

The phone sent the message

session
string
required

Identifier of the connected Polymorfa session.

to
string
required

Specifies to for this native testing phone message.

messageId
string | null
required

Polymorfa message ID. Use the Polymorfa message's id for actions and replies.

Accepted alternatives