Set a post's title, private notes and UTM values
PUT
http://localhost:4000/api/v1 /posts/{id}/notes Nothing here is published. notes is Markdown; lines that start with - [ ] or - [x] are to-dos. utm holds the post's own source, medium, campaign, term and content, which win over the workspace's when its links go out. A field left out keeps its value; null or an empty text clears it.
Parameters
idstring
path
required
Request body
application/json
titlestring
notesstring
utmobject
Show child parameters
sourcestring
mediumstring
campaignstring
termstring
contentstring
{
"title": "string",
"notes": "string",
"utm": {
"source": "string",
"medium": "string",
"campaign": "string",
"term": "string",
"content": "string"
}
}Code samples
cURL
curl -X PUT "http://localhost:4000/api/v1/posts/{id}/notes" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"string","notes":"string","utm":{"source":"string","medium":"string","campaign":"string","term":"string","content":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"title": "string",
"notes": "string",
"utm": {
"source": "string",
"medium": "string",
"campaign": "string",
"term": "string",
"content": "string"
}
}Schema
titlestring
required
notesstring
required
utmobject
required
Show child parameters
sourcestring
mediumstring
campaignstring
termstring
contentstring
Updated