Notes
Business+Manage internal notes.
Required scopes:
contacts
applications
participants
invoices
events
The required scope depends on the entity type: contact notes require the "contacts" scope, application notes require "applications", etc.
Endpoints
GET
/api/v1/notes
List all notes
GET
/api/v1/notes/{id}
Retrieve a single note
POST
/api/v1/notes
Create a new note
PUT/PATCH
/api/v1/notes/{id}
Update a note
DELETE
/api/v1/notes/{id}
Delete a note
POST
/api/v1/notes/{id}/pin
Toggle pin status of a note
Query Parameters
| Parameter | Description |
|---|---|
entity_type
|
Entity type (required: contact, application, event_participant, invoice, event) |
entity_id
|
Entity ID (required) |
note_type
|
Filter by note type (info, warning, followup, internal) |
is_pinned
|
Filter by pinned status (1) |
Request Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
entity_type
|
string | Yes | Entity type (required: contact, application, event_participant, invoice, event) |
entity_id
|
integer | Yes | Entity ID (required) |
note_text
|
string | Yes | Note content (required) |
note_type
|
string | No | Note type (info, warning, followup, internal; default: info) |
is_pinned
|
boolean | No | Whether the note is pinned |
Response Schema
| Field | Type |
|---|---|
id
|
integer |
entity_type
|
string |
entity_id
|
integer |
admin_id
|
integer |
admin_name
|
string|null |
note_text
|
string |
note_type
|
string |
is_pinned
|
boolean |
created_at
|
string |
updated_at
|
string |
Code Examples
curl -X GET "https://your-tenant.plandocket.com/api/v1/notes" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://your-tenant.plandocket.com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $baseUrl . '/api/v1/notes',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
print_r($data);
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://your-tenant.plandocket.com';
const response = await fetch(`${baseUrl}/api/v1/notes`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
import requests
api_key = 'YOUR_API_KEY'
base_url = 'https://your-tenant.plandocket.com'
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json',
}
response = requests.get(f'{base_url}/api/v1/notes', headers=headers)
data = response.json()
print(data)
Sample Response
200 OK
{
"data": {
"note_id": 1,
"created_at": 1704067200,
"updated_at": 1704067200
},
"meta": {
"request_id": "req_abc123"
}
}