curl --request POST \
--url https://us.api.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>"
}Use when you need to run a scheduled export immediately (e.g. on-demand report or catch-up). Supports optional custom time range.
curl --request POST \
--url https://us.api.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>"
}Enter your API key in the format x-api-key <api-key>*
Scheduled Task ID