Creates a recurring schedule that generates one content type from the selected GitHub integrations. Times are in UTC. A schedule with the same source, targets, output, and lookback settings as an existing one is rejected with 409.
POST
https://api.usenotra.com
/
v1
/
schedules
Create a schedule
curl --request POST \
--url https://api.usenotra.com/v1/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Weekly changelog",
"sourceType": "cron",
"sourceConfig": {
"cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
}
},
"targets": {
"repositoryIds": [
"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"
]
},
"outputType": "changelog",
"enabled": true,
"outputConfig": {
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
},
"autoPublish": false,
"lookbackWindow": "last_7_days"
}
'import requests
url = "https://api.usenotra.com/v1/schedules"
payload = {
"name": "Weekly changelog",
"sourceType": "cron",
"sourceConfig": { "cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
} },
"targets": { "repositoryIds": ["51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"] },
"outputType": "changelog",
"enabled": True,
"outputConfig": {
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
},
"autoPublish": False,
"lookbackWindow": "last_7_days"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Weekly changelog',
sourceType: 'cron',
sourceConfig: {
cron: {
frequency: 'weekly',
hour: 9,
minute: 0,
dayOfWeek: 1,
dayOfMonth: 1,
intervalDays: 3,
anchorDate: '2026-09-03'
}
},
targets: {repositoryIds: ['51c2f3aa-efdd-4e28-8e69-23fa2dfd3561']},
outputType: 'changelog',
enabled: true,
outputConfig: {
brandVoiceId: '51c2f3aa-efdd-4e28-8e69-23fa2dfd3561',
instructions: 'Write a tutorial-style post that walks through one feature shipped in this window, with code samples.'
},
autoPublish: false,
lookbackWindow: 'last_7_days'
})
};
fetch('https://api.usenotra.com/v1/schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usenotra.com/v1/schedules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Weekly changelog',
'sourceType' => 'cron',
'sourceConfig' => [
'cron' => [
'frequency' => 'weekly',
'hour' => 9,
'minute' => 0,
'dayOfWeek' => 1,
'dayOfMonth' => 1,
'intervalDays' => 3,
'anchorDate' => '2026-09-03'
]
],
'targets' => [
'repositoryIds' => [
'51c2f3aa-efdd-4e28-8e69-23fa2dfd3561'
]
],
'outputType' => 'changelog',
'enabled' => true,
'outputConfig' => [
'brandVoiceId' => '51c2f3aa-efdd-4e28-8e69-23fa2dfd3561',
'instructions' => 'Write a tutorial-style post that walks through one feature shipped in this window, with code samples.'
],
'autoPublish' => false,
'lookbackWindow' => 'last_7_days'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.usenotra.com/v1/schedules"
payload := strings.NewReader("{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.usenotra.com/v1/schedules")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenotra.com/v1/schedules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}"
response = http.request(request)
puts response.read_body{
"schedule": {
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"sourceType": "cron",
"sourceConfig": {
"cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
}
},
"targets": {
"repositoryIds": [
"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"
]
},
"outputType": "changelog",
"enabled": true,
"autoPublish": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"lookbackWindow": "current_day",
"outputConfig": {
"publishDestination": "webflow",
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
}
},
"organization": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"logo": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}Authorizations
Send your API key in the Authorization header as Bearer API_KEY.
Body
application/json
Display name shown in the dashboard.
Required string length:
1 - 120Example:
"Weekly changelog"
Always cron for schedules.
Available options:
cron Show child attributes
Show child attributes
Show child attributes
Show child attributes
Type of content each run generates.
Available options:
changelog, blog_post, linkedin_post, twitter_post, image Example:
"changelog"
Whether the schedule runs. Disabled schedules are stored but never fire.
Example:
true
Show child attributes
Show child attributes
Publish generated posts automatically instead of saving them as drafts.
Example:
false
How far back each run collects source activity.
Available options:
current_day, yesterday, last_7_days, last_14_days, last_30_days Example:
"last_7_days"
Last modified on September 18, 2026
Was this page helpful?
⌘I
Create a schedule
curl --request POST \
--url https://api.usenotra.com/v1/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Weekly changelog",
"sourceType": "cron",
"sourceConfig": {
"cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
}
},
"targets": {
"repositoryIds": [
"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"
]
},
"outputType": "changelog",
"enabled": true,
"outputConfig": {
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
},
"autoPublish": false,
"lookbackWindow": "last_7_days"
}
'import requests
url = "https://api.usenotra.com/v1/schedules"
payload = {
"name": "Weekly changelog",
"sourceType": "cron",
"sourceConfig": { "cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
} },
"targets": { "repositoryIds": ["51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"] },
"outputType": "changelog",
"enabled": True,
"outputConfig": {
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
},
"autoPublish": False,
"lookbackWindow": "last_7_days"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Weekly changelog',
sourceType: 'cron',
sourceConfig: {
cron: {
frequency: 'weekly',
hour: 9,
minute: 0,
dayOfWeek: 1,
dayOfMonth: 1,
intervalDays: 3,
anchorDate: '2026-09-03'
}
},
targets: {repositoryIds: ['51c2f3aa-efdd-4e28-8e69-23fa2dfd3561']},
outputType: 'changelog',
enabled: true,
outputConfig: {
brandVoiceId: '51c2f3aa-efdd-4e28-8e69-23fa2dfd3561',
instructions: 'Write a tutorial-style post that walks through one feature shipped in this window, with code samples.'
},
autoPublish: false,
lookbackWindow: 'last_7_days'
})
};
fetch('https://api.usenotra.com/v1/schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usenotra.com/v1/schedules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Weekly changelog',
'sourceType' => 'cron',
'sourceConfig' => [
'cron' => [
'frequency' => 'weekly',
'hour' => 9,
'minute' => 0,
'dayOfWeek' => 1,
'dayOfMonth' => 1,
'intervalDays' => 3,
'anchorDate' => '2026-09-03'
]
],
'targets' => [
'repositoryIds' => [
'51c2f3aa-efdd-4e28-8e69-23fa2dfd3561'
]
],
'outputType' => 'changelog',
'enabled' => true,
'outputConfig' => [
'brandVoiceId' => '51c2f3aa-efdd-4e28-8e69-23fa2dfd3561',
'instructions' => 'Write a tutorial-style post that walks through one feature shipped in this window, with code samples.'
],
'autoPublish' => false,
'lookbackWindow' => 'last_7_days'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.usenotra.com/v1/schedules"
payload := strings.NewReader("{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.usenotra.com/v1/schedules")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenotra.com/v1/schedules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Weekly changelog\",\n \"sourceType\": \"cron\",\n \"sourceConfig\": {\n \"cron\": {\n \"frequency\": \"weekly\",\n \"hour\": 9,\n \"minute\": 0,\n \"dayOfWeek\": 1,\n \"dayOfMonth\": 1,\n \"intervalDays\": 3,\n \"anchorDate\": \"2026-09-03\"\n }\n },\n \"targets\": {\n \"repositoryIds\": [\n \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\"\n ]\n },\n \"outputType\": \"changelog\",\n \"enabled\": true,\n \"outputConfig\": {\n \"brandVoiceId\": \"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561\",\n \"instructions\": \"Write a tutorial-style post that walks through one feature shipped in this window, with code samples.\"\n },\n \"autoPublish\": false,\n \"lookbackWindow\": \"last_7_days\"\n}"
response = http.request(request)
puts response.read_body{
"schedule": {
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"sourceType": "cron",
"sourceConfig": {
"cron": {
"frequency": "weekly",
"hour": 9,
"minute": 0,
"dayOfWeek": 1,
"dayOfMonth": 1,
"intervalDays": 3,
"anchorDate": "2026-09-03"
}
},
"targets": {
"repositoryIds": [
"51c2f3aa-efdd-4e28-8e69-23fa2dfd3561"
]
},
"outputType": "changelog",
"enabled": true,
"autoPublish": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"lookbackWindow": "current_day",
"outputConfig": {
"publishDestination": "webflow",
"brandVoiceId": "51c2f3aa-efdd-4e28-8e69-23fa2dfd3561",
"instructions": "Write a tutorial-style post that walks through one feature shipped in this window, with code samples."
}
},
"organization": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"logo": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}