Skip to main content
POST
React to channel 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.

Headers

Idempotency-Key
string

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

Required string length: 1 - 255

Path Parameters

session
string
required

Identifier of the connected Polymorfa session.

id
string
required

Identifier for this resource.

Value constraints

Pattern: ^[1-9][0-9]{0,18}$
messageId
string
required

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

Value constraints

Pattern: ^[1-9][0-9]{0,18}$

Body

application/json
reaction
string
required

Reaction applied to the referenced message.

Value constraints

Maximum string length: 32

Response

Reaction updated

success
boolean
required

Whether the request succeeded.

message
string

Human-readable message associated with this result.