cURL
curl --request POST \ --url https://api.usenotra.com/v1/schedules \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "sourceType": "cron", "sourceConfig": { "cron": { "frequency": "daily", "hour": 11, "minute": 29, "dayOfWeek": 3, "dayOfMonth": 16 } }, "targets": { "repositoryIds": [ "<string>" ] }, "outputType": "changelog", "enabled": true, "outputConfig": { "publishDestination": "webflow", "brandVoiceId": "<string>" }, "autoPublish": false, "lookbackWindow": "last_7_days" } '
{ "schedule": { "id": "<string>", "organizationId": "<string>", "name": "<string>", "sourceType": "cron", "sourceConfig": { "cron": { "frequency": "daily", "hour": 11, "minute": 29, "dayOfWeek": 3, "dayOfMonth": 16 } }, "targets": { "repositoryIds": [ "<string>" ] }, "outputType": "changelog", "enabled": true, "autoPublish": true, "createdAt": "<string>", "updatedAt": "<string>", "lookbackWindow": "current_day", "outputConfig": { "publishDestination": "webflow", "brandVoiceId": "<string>" } }, "organization": { "id": "<string>", "slug": "<string>", "name": "<string>", "logo": "<string>" } }
Send your API key in the Authorization header as Bearer API_KEY.
1 - 120
cron
Show child attributes
changelog
blog_post
linkedin_post
twitter_post
current_day
yesterday
last_7_days
last_14_days
last_30_days
Schedule created successfully
Was this page helpful?