v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBSchedules
Create schedule
Create a scheduled task for the specified dashboard. Supports applying filters and formatting, creating alert conditions, and triggering test deliveries.
Supports the following destinations:
- Slack - Note: A Slack workspace must already be connected to Omni to use this destination type.
- SFTP
- Webhook
- Amazon S3
post/v1/schedules
Query parameters
userIdstring uuid
Only supported when using an Organization API key. The membership ID of the user who should own the schedule. Note: This value is the membership ID, not the user ID. Use the List users endpoint to retrieve membership IDs.
When using an Organization API key:
- If userId is provided, the schedule is owned by the specified user
- If userId is not provided, the schedule is owned by the organization
Attempting to use a Personal Access Token (PAT) with this parameter will result in a 403 Forbidden error. When using a PAT, the schedule owner will be the creator of the PAT.
Request body
Example request
{
"bucketName": "my-reports-bucket",
"region": "us-east-1",
"roleArn": "arn:aws:iam::123456789012:role/OmniS3DeliveryRole",
"keyPrefix": "reports/daily/",
"filename": "{{scheduledTaskName}}_{{currentDate}}"
}Response
Schedule created successfully
Example response
{
"message": "Successfully created schedule"
}