v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBSchedules
Create schedule
Create a new scheduled delivery for a dashboard. Required fields vary by destinationType (email, webhook, sftp, slack). For org API keys, use the userId query parameter to create the schedule on behalf of a specific user.
post/api/v1/schedules
Query parameters
userIdstring uuid
Membership ID of the user who should own the schedule (org API keys only). If not provided, the schedule is owned by the API key owner. User-scoped API keys cannot use this parameter.
Example:987fcdeb-51a2-43d7-9b56-254415f67890
Membership ID of the user who should own the schedule (org API keys only). If not provided, the schedule is owned by the API key owner. User-scoped API keys cannot use this parameter.
Request body
Example request
{
"bucketName": "my-reports-bucket",
"conditionQueryMapKey": "Jmn2r3KV",
"conditionType": "RESULTS_PRESENT",
"destinationType": "email",
"filterConfig": {
"status": [
"active",
"pending"
]
},
"format": "pdf",
"identifier": "12db1a0a",
"keyPrefix": "reports/weekly/",
"name": "Weekly Sales Report",
"recipients": [
{
"email": "user@example.com"
}
],
"region": "us-east-1",
"roleArn": "arn:aws:iam::123456789012:role/OmniS3DeliveryRole",
"schedule": "0 9 ? * MON *",
"showContentLink": true,
"showFilters": true,
"slackRecipientType": "channel",
"timezone": "America/New_York",
"timezoneOverride": "Europe/Paris",
"webhookUrl": "https://example.com/webhook"
}Response
Schedule created successfully
Example response
{
"delivererRoleArn": "arn:aws:iam::529831494235:role/OmniSchedulerDelivererRole",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "Successfully created schedule"
}