Trigger test event
Required scope: sandbox:write
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
Specifies idempotency key for this header parameter.
Value constraints
^[\x21-\x7e]{1,255}$Path Parameters
Identifier of the Polymorfa project that owns this resource.
Value constraints
Body
Test number session name in the project.
Value constraints
1 - 128Fixture name. Each name is the event type it produces.
Allowed values
message.received, message.ack, message.failed, call.received, call.missed, call.ended, session.status, template.status, bansafe.enforcement, bansafe.risk_changed Specifies overrides for this native trigger test event request.
message.received only. Send a simulated text message from this other connected Test number in the same project instead of generating an event.
Value constraints
1 - 128Response
Test event accepted for delivery
Specifies event for this native trigger test event response.
Allowed values
message.received, message.ack, message.failed, call.received, call.missed, call.ended, session.status, template.status, bansafe.enforcement, bansafe.risk_changed Identifier of the connected Polymorfa session.
Specifies delivery for this native trigger test event response.
Allowed values
generated, simulated Identifier for the event.
Accepted alternatives
Value constraints
Specifies source for this native trigger test event response.
Allowed values
test, runtime