API by router
Scheduled actions
GET
HTTPBearerheader
AuthorizationBearer <token>customer_id?|nullexternal_id?string|nullstatus?string|nulllimit?LimitRange
1 <= value <= 200Default
50offset?OffsetRange
0 <= valueDefault
0X-Api-Key?string|nullSuccessful Response
application/json- response
curl -X GET 'https://example.com/v1/schedules'Example Response
{}POST
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullapplication/json- body
action_after_completion?Action After CompletionDefault
"NONE"action_config*action_type*Action Typecatchup_window_minutes?Catchup Window MinutesRange
0 <= value <= 1440Default
10customer_id?|nulldeduplication_key?|nulldescription?string|nullend_at?|nullexternal_id?|nullflexible_window_minutes?Flexible Window MinutesRange
0 <= value <= 60Default
0max_retries?Max RetriesRange
0 <= value <= 10Default
3name*NameLength
length <= 200overlap_policy?Overlap PolicyDefault
"SKIP"pause_on_failure_count?Pause On Failure CountRange
1 <= value <= 100Default
5rate_limit_per_minute?|nullrelative_entity_definition_id?|Entity definition to query
relative_field_name?|Date field to compute offset from
relative_filter?|Optional filter conditions on entity records
relative_offset_days?|Days before (-) or after (+) the field date
retry_backoff_seconds?Retry Backoff SecondsRange
0 <= valueDefault
60schedule_expression?string|nullschedule_type*Schedule Typestart_at?|nulltimezone?TimezoneLength
length <= 50Default
"UTC"Successful Response
application/json- response
action_config*action_type*Action Typecreated_at*Created AtFormat
date-timecustomer_id*|nulldescription*string|nullexternal_id*string|nullid*IdFormat
uuidlast_run_at*|nulllast_run_status*string|nullname*Namenext_run_at*|nulloverlap_policy*Overlap Policyrelative_entity_definition_id?|nullrelative_field_name?string|nullrelative_filter?|nullrelative_offset_days?integer|nullrun_count*Run Countschedule_expression*string|nullschedule_type*Schedule Typestatus*Statustenant_id*Tenant IdFormat
uuidtimezone*Timezoneupdated_at*Updated AtFormat
date-timecurl -X POST 'https://example.com/v1/schedules' \ -H 'Content-Type: application/json' \ -d '{ "action_config": {}, "action_type": "string", "name": "string", "schedule_type": "string"}'Example Response
{ "action_config": {}, "action_type": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "description": "string", "external_id": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_run_at": "2019-08-24T14:15:22Z", "last_run_status": "string", "name": "string", "next_run_at": "2019-08-24T14:15:22Z", "overlap_policy": "string", "relative_entity_definition_id": "46b415fe-4983-482e-9f78-b8edcade17d5", "relative_field_name": "string", "relative_filter": {}, "relative_offset_days": 0, "run_count": 0, "schedule_expression": "string", "schedule_type": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "timezone": "string", "updated_at": "2019-08-24T14:15:22Z"}GET
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
action_config*action_type*Action Typecreated_at*Created AtFormat
date-timecustomer_id*|nulldescription*string|nullexternal_id*string|nullid*IdFormat
uuidlast_run_at*|nulllast_run_status*string|nullname*Namenext_run_at*|nulloverlap_policy*Overlap Policyrelative_entity_definition_id?|nullrelative_field_name?string|nullrelative_filter?|nullrelative_offset_days?integer|nullrun_count*Run Countschedule_expression*string|nullschedule_type*Schedule Typestatus*Statustenant_id*Tenant IdFormat
uuidtimezone*Timezoneupdated_at*Updated AtFormat
date-timecurl -X GET 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "action_config": {}, "action_type": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "description": "string", "external_id": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_run_at": "2019-08-24T14:15:22Z", "last_run_status": "string", "name": "string", "next_run_at": "2019-08-24T14:15:22Z", "overlap_policy": "string", "relative_entity_definition_id": "46b415fe-4983-482e-9f78-b8edcade17d5", "relative_field_name": "string", "relative_filter": {}, "relative_offset_days": 0, "run_count": 0, "schedule_expression": "string", "schedule_type": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "timezone": "string", "updated_at": "2019-08-24T14:15:22Z"}DELETE
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullSuccessful Response
curl -X DELETE 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
PUT
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullapplication/json- body
action_config?|nullcatchup_window_minutes?integer|nulldescription?string|nullflexible_window_minutes?integer|nullmax_retries?integer|nullname?string|nulloverlap_policy?string|nullrate_limit_per_minute?integer|nullschedule_expression?string|nullstatus?string|nulltimezone?string|nullSuccessful Response
application/json- response
action_config*action_type*Action Typecreated_at*Created AtFormat
date-timecustomer_id*|nulldescription*string|nullexternal_id*string|nullid*IdFormat
uuidlast_run_at*|nulllast_run_status*string|nullname*Namenext_run_at*|nulloverlap_policy*Overlap Policyrelative_entity_definition_id?|nullrelative_field_name?string|nullrelative_filter?|nullrelative_offset_days?integer|nullrun_count*Run Countschedule_expression*string|nullschedule_type*Schedule Typestatus*Statustenant_id*Tenant IdFormat
uuidtimezone*Timezoneupdated_at*Updated AtFormat
date-timecurl -X PUT 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "action_config": {}, "action_type": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "description": "string", "external_id": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_run_at": "2019-08-24T14:15:22Z", "last_run_status": "string", "name": "string", "next_run_at": "2019-08-24T14:15:22Z", "overlap_policy": "string", "relative_entity_definition_id": "46b415fe-4983-482e-9f78-b8edcade17d5", "relative_field_name": "string", "relative_filter": {}, "relative_offset_days": 0, "run_count": 0, "schedule_expression": "string", "schedule_type": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "timezone": "string", "updated_at": "2019-08-24T14:15:22Z"}POST
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
curl -X POST 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08/pause'Example Response
{}POST
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
curl -X POST 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08/resume'Example Response
{}GET
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidlimit?LimitRange
1 <= value <= 100Default
20offset?OffsetRange
0 <= valueDefault
0X-Api-Key?string|nullSuccessful Response
application/json- response
curl -X GET 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs'Example Response
{}POST
HTTPBearerheader
AuthorizationBearer <token>schedule_id*Schedule IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
curl -X POST 'https://example.com/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08/trigger'Example Response
{}