Lists notes. A note belongs to one record: a contact, a deal, a deal task, a contact activity entry or an account, named by reltype and relid. Only notes the caller is allowed to see are returned. Notes on activity entries are always shown. Notes on contacts need permission to edit contacts (pg_subscriber_edit), notes on deals need deal access (pg_deal) and an account with Deals, notes on deal tasks need permission to see all deals (pg_deal_list_all), and notes on accounts need permission to edit accounts (pg_account_edit). Drafts are left out unless filters[is_draft] asks for them. Without orders, the order of the notes is not defined. There is no error response of its own: unknown filters are ignored. GET /contacts/{id}/notes lists the notes of one contact.
{
"notes": [
{
"relid": "126",
"reltype": "Activity",
"userid": "1",
"is_draft": "0",
"cdate": "2022-05-26T08:58:34-05:00",
"mdate": "2022-05-26T08:58:34-05:00",
"note": "Oh, hi lisa",
"links": {
"activities": "https://:account.api-us1.com/api/3/notes/1/activities",
"user": "https://:account.api-us1.com/api/3/notes/1/user",
"mentions": "https://:account.api-us1.com/api/3/notes/1/mentions",
"notes": "https://:account.api-us1.com/api/3/notes/1/notes",
"owner": "https://:account.api-us1.com/api/3/notes/1/owner"
},
"id": "1",
"user": "1",
"owner": {
"type": "activity",
"id": "126"
}
},
{
"relid": "6",
"reltype": "Deal",
"userid": "1",
"is_draft": "0",
"cdate": "2023-08-18T11:09:38-05:00",
"mdate": "2023-08-18T11:09:40-05:00",
"note": "Here is a note",
"links": {
"activities": "https://:account.api-us1.com/api/3/notes/2/activities",
"user": "https://:account.api-us1.com/api/3/notes/2/user",
"mentions": ":account.api-us1.com/api/3/notes/2/mentions",
"notes": ":account.api-us1.com/api/3/notes/2/notes",
"owner": ":account.api-us1.com/api/3/notes/2/owner"
},
"id": "2",
"user": "1",
"owner": {
"type": "deal",
"id": "6"
}
}
],
"meta": {
"total": "2"
}
}