Skip to main content
POST
Create message template

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.

Body

application/json
projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

name
string
required

Human-readable name for this resource.

Value constraints

Required string length: 1 - 512
definition
object
required

Structured definition for this resource.

draftId
string<uuid>

Identifier of the saved draft.

Value constraints

sampleValues
object | null

Example values used to preview this template field.

Accepted alternatives

Response

Success

data
string<uuid>
required

Structured data carried by this object.

Value constraints