Notes API

"Notes" in the web interface are referenced as "pages" from API endpoints.

Publish a note to knowledge bases

POST /api/v1/pages/:id/publish

Publishes the note to every knowledge base that contains it. Publishing occurs asynchronously, so the published status will not update immediately.

Parameters
NameDescription
id *

Numeric ID of the note

include_children

Whether to also publish child notes (true/false). This applies recursively to all descendant documents.

Example request

POST /api/v1/pages/1051981226/publish

Example CURL command

curl "https://company.aha.io/api/v1/pages/1051981226/publish" -d '' -X POST \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body