Create Report Schedule
POST/api/v2/custom-reports/:customReport/schedules
Email a report on a recurring schedule. Only the owner can create schedules (403 otherwise). next_run_at is computed from the timing fields.
reports:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body (frequency, time_of_day and recipients are required):
frequency:daily,weeklyormonthlytime_of_day:HH:MMorHH:MM:SSintimezonerecipients: array of email addresses (min 1)day_of_week(integer 0-6, 0 = Sunday): send day forweeklyday_of_month(integer 1-31): send day formonthlytimezone(IANA timezone, defaultUTC)export_format:csv,xlsxorpdf(defaultcsv)is_active(boolean, default true)
Returns 201 with the schedule in data.
Authentication: Bearer token (Personal Access Token). Personal access tokens need the reports:write scope.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 429
Created
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.