Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
application/json
Scheduled Task
Create a new scheduled task for data export
curl --request POST \
--url https://api.cloud.flexprice.io/v1/tasks/scheduled \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"connection_id": "<string>",
"enabled": true,
"entity_type": "events",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
}
}'{
"connection_id": "<string>",
"created_at": "<string>",
"enabled": true,
"entity_type": "events",
"environment_id": "<string>",
"id": "<string>",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
},
"status": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>"
}Enter your API key in the format x-api-key <api-key>*
Scheduled Task
Created
curl --request POST \
--url https://api.cloud.flexprice.io/v1/tasks/scheduled \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"connection_id": "<string>",
"enabled": true,
"entity_type": "events",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
}
}'{
"connection_id": "<string>",
"created_at": "<string>",
"enabled": true,
"entity_type": "events",
"environment_id": "<string>",
"id": "<string>",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
},
"status": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>"
}