Triggers
Pause a scheduled trigger
Pauses an alive trigger. A can be paused if it's in scheduled state. A paused trigger has a schedule but is currently paused. When time is due for it to run, it will not create the run but will account for the skipped run as if it was executed (remaining is reduced if schedule has limit)
get/triggers/{trigger-name}/pause
Response
OK
Example response
{
"name": "my example trigger",
"description": "A reminder to sign-up to our promotion",
"created_at": "2023-03-25T17:43:23.654278298Z",
"updated_at": "2023-03-25T17:43:23.654278298Z",
"action": {
"url": "https://example.com/my-own-endpoint",
"timeout_s": 6.2,
"retry": {
"max_num_attempts": 5,
"delay_s": 10
}
},
"payload": {
"body": "My Message Payload",
"content_type": "application/json; charset=utf-8",
"headers": {
"X-Custom-Header": "Custom-Value"
}
},
"schedule": {
"cron": "*/30 * * * * *",
"timezone": "Etc/UTC",
"type": "recurring"
},
"status": "scheduled",
"estimated_future_runs": [
"2023-06-22T18:00:00Z"
]
}