Add a note to a lead
POST
/leads/{id}/notes
const url = 'https://app.whatsetter.com/api/v1/leads/example/notes';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"Wants a call after the 25th, budget confirmed."}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.whatsetter.com/api/v1/leads/example/notes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Wants a call after the 25th, budget confirmed." }'Writes a note entry in the lead’s journal, shown in the dashboard’s
timeline with API · <key name> as its author. 1 to 2000 characters.
Requires scope leads:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
text
required
string
Example
{ "text": "Wants a call after the 25th, budget confirmed."}Responses
Section titled “Responses”The note
Media typeapplication/json
object
data
object
id
string
text
string
author
The person’s name, or API · <key name> for notes written with a key.
string | null
created_at
string format: date-time
Example
{ "data": { "id": "68ed11aa22bb33cc44dd55ee", "text": "Wants a call after the 25th, budget confirmed.", "author": "API · HubSpot sync", "created_at": "2026-09-19T08:14:02.000Z" }}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Resource not found in this workspace
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Empty or too long
Media typeapplication/json
object
error
object
code
string
message
string
Example
{ "error": { "code": "validation_error", "message": "\"text\" is required (1 to 2000 characters)." }}
