Skip to main content
POST
/
tasks
/
scheduled
/
{id}
/
run
Trigger force run
curl --request POST \
  --url https://api.cloud.flexprice.io/v1/tasks/scheduled/{id}/run \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "end_time": "<string>",
  "start_time": "<string>"
}'
{
  "end_time": "<string>",
  "message": "<string>",
  "mode": "<string>",
  "start_time": "<string>",
  "workflow_id": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

id
string
required

Scheduled Task ID

Body

application/json

Optional start and end time for custom range

end_time
string
start_time
string

Response

Returns workflow details and time range

end_time
string
message
string
mode
string

"custom" or "automatic"

start_time
string
workflow_id
string
I