TriggerSubscription
A Trigger subscription (1.60.0): an Organization's request that an event of a Connection run an action.
An object with 18 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
action | TriggerAction | yes | |
connection_id | ConnectionId | yes | |
connector_id | ConnectorId | yes | |
created_at | Timestamp | yes | |
enabled | boolean | yes | |
event_type | TriggerEventTypeName | yes | |
filter | ZenExpression or null | yes | A ZEN expression over the event's typed fields; null acts on every event. |
id | TriggerSubscriptionId | yes | |
name | string | yes | |
object | "trigger_subscription" | yes | |
organization_id | OrganizationId | yes | |
previous_token_expires_at | Timestamp or null | no | After a token rotation (1.61.0), when the previous token stops verifying, 24 hours later (a target); null otherwise, absent from an api before 1.61.0. |
rate_limit_per_minute | integer | yes | |
revision | integer | yes | |
status | TriggerSubscriptionStatus | yes | |
subscription_token | string (password) or null (password) | yes | The token of the edge path /v1/triggers/{connector_id}/{subscription_token}, 32 random bytes in base64url: answered once by the create, null in every other answer. |
token_hint | string | yes | The last characters of the subscription token. |
updated_at | Timestamp | yes |
Used by
The operations whose parameters, request body or responses name this shape directly.