Notes API
"Notes" in the web interface are referenced as "pages" from API endpoints.
Create an internal link
POST /api/v1/products/:product_id/pages
Name | Description |
---|---|
product_id * | Numeric ID or key of the product |
document_type | Type of document to be created - can be: note, whiteboard, folder, internal_link, or external_link. Defaults to note |
linked_record_id * | The ID for the Aha! record to link to for internal links |
linked_record_type * | The type of the Aha! record being linked to, e.g. Feature, Epic |
Example request
POST /api/v1/products/PRJ1/pages
Example CURL command
curl "https://company.aha.io/api/v1/products/PRJ1/pages" -d '{"page":{"document_type":"internal_link","linked_record_id":1007868956,"linked_record_type":"Feature"}}' -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