Notes API

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

Create a note

POST/api/v1/products/:product_id/pages

Parameters
NameDescription
product_id *

Numeric ID or key of the product

name *

Name of the page

description

Description of the page and it can include HTML formatting.

Example request

POST/api/v1/products/PRJ1/pages

Example CURL command

curl "https://company.aha.io/api/v1/products/PRJ1/pages" -d '{"page":{"name":"Note 3","description_attributes":{"body":"\u003cp\u003eAn awesome new note\u003c/p\u003e"}}}' -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

Request body

Response

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

Response body

© 2020 Aha! Labs Inc.All rights reserved