curl --request POST \
--url https://api.usenotra.com/v1/posts/{postId}/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scheduledAt": "2026-10-06T08:00:00Z",
"timeZone": "Europe/Berlin",
"destinations": []
}
'import requests
url = "https://api.usenotra.com/v1/posts/{postId}/schedule"
payload = {
"scheduledAt": "2026-10-06T08:00:00Z",
"timeZone": "Europe/Berlin",
"destinations": []
}
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({
scheduledAt: '2026-10-06T08:00:00Z',
timeZone: 'Europe/Berlin',
destinations: []
})
};
fetch('https://api.usenotra.com/v1/posts/{postId}/schedule', 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/posts/{postId}/schedule",
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([
'scheduledAt' => '2026-10-06T08:00:00Z',
'timeZone' => 'Europe/Berlin',
'destinations' => [
]
]),
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/posts/{postId}/schedule"
payload := strings.NewReader("{\n \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\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/posts/{postId}/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenotra.com/v1/posts/{postId}/schedule")
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 \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\n}"
response = http.request(request)
puts response.read_body{
"organization": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"logo": "<string>"
},
"schedule": {
"postId": "<string>",
"scheduledAt": "2023-11-07T05:31:56Z",
"timeZone": "<string>",
"publications": [
{
"id": "<string>",
"destination": "notra",
"config": {
"destination": "notra"
},
"status": "scheduled",
"scheduledAt": "2023-11-07T05:31:56Z",
"timeZone": "<string>",
"attempts": 123,
"errorCode": "<string>",
"lastError": "<string>",
"resultUrl": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"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>",
"limit": 2,
"remaining": 1,
"reset": 123
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}Schedule a post for publishing
Publishes the post automatically at scheduledAt: it is marked as published in Notra and, optionally, opened and merged as a GitHub pull request or posted to a connected X or LinkedIn account. Replaces any schedule that has not started. The post is published as saved at that time, so later edits are included. Publishing runs within about a minute of scheduledAt; transient errors are retried automatically.
curl --request POST \
--url https://api.usenotra.com/v1/posts/{postId}/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scheduledAt": "2026-10-06T08:00:00Z",
"timeZone": "Europe/Berlin",
"destinations": []
}
'import requests
url = "https://api.usenotra.com/v1/posts/{postId}/schedule"
payload = {
"scheduledAt": "2026-10-06T08:00:00Z",
"timeZone": "Europe/Berlin",
"destinations": []
}
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({
scheduledAt: '2026-10-06T08:00:00Z',
timeZone: 'Europe/Berlin',
destinations: []
})
};
fetch('https://api.usenotra.com/v1/posts/{postId}/schedule', 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/posts/{postId}/schedule",
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([
'scheduledAt' => '2026-10-06T08:00:00Z',
'timeZone' => 'Europe/Berlin',
'destinations' => [
]
]),
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/posts/{postId}/schedule"
payload := strings.NewReader("{\n \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\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/posts/{postId}/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenotra.com/v1/posts/{postId}/schedule")
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 \"scheduledAt\": \"2026-10-06T08:00:00Z\",\n \"timeZone\": \"Europe/Berlin\",\n \"destinations\": []\n}"
response = http.request(request)
puts response.read_body{
"organization": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"logo": "<string>"
},
"schedule": {
"postId": "<string>",
"scheduledAt": "2023-11-07T05:31:56Z",
"timeZone": "<string>",
"publications": [
{
"id": "<string>",
"destination": "notra",
"config": {
"destination": "notra"
},
"status": "scheduled",
"scheduledAt": "2023-11-07T05:31:56Z",
"timeZone": "<string>",
"attempts": 123,
"errorCode": "<string>",
"lastError": "<string>",
"resultUrl": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"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>",
"limit": 2,
"remaining": 1,
"reset": 123
}{
"error": "<string>",
"code": "<string>",
"recovery": "<string>"
}Authorizations
Send your API key in the Authorization header as Bearer API_KEY.
Path Parameters
1^[A-Za-z0-9_-]{1,100}$"post_123"
Body
When to publish, as an ISO 8601 timestamp. At most one year ahead; a time up to five minutes in the past publishes right away.
"2026-10-06T08:00:00Z"
IANA time zone the schedule was picked in. Used for display and emails only.
1 - 100"Europe/Berlin"
Where the post goes out besides Notra. The post is always marked as published in Notra at the scheduled time.
2- Option 1
- Option 2
Show child attributes
Show child attributes
Was this page helpful?