Notes
Add a note
Writes a note on the lead. It appears in the lead’s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.
Notes are plain text. Attachments can only be added in the Cockpit.
POST
/
leads
/
{id}
/
notes
Add a note
curl --request POST \
--url https://backend.leadey.ai/v1/leads/{id}/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday."
}
'import requests
url = "https://backend.leadey.ai/v1/leads/{id}/notes"
payload = { "text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: 'Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday.'})
};
fetch('https://backend.leadey.ai/v1/leads/{id}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "event_6Tk9wRmB",
"type": "note",
"outcome": null,
"stepIndex": 0,
"meta": {
"text": "Left a voicemail. Trying again Thursday morning.",
"userId": "user_2pXn4Rk"
},
"timestamp": "2026-08-03T11:09:20.000Z"
}
}{
"error": {
"message": "One of email, phone or linkedinUrl is required",
"details": null
}
}{
"error": {
"message": "Invalid or revoked API key.",
"details": null
}
}{
"error": {
"message": "This API key is read-only. Create a key with write access in Settings → API Keys.",
"details": null
}
}{
"error": {
"message": "Lead not found",
"details": null
}
}{
"error": {
"message": "Rate limit exceeded. Retry in 42s.",
"details": null
}
}Authorizations
Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as Authorization: Bearer leadey_sk_live_….
Path Parameters
The lead id.
Body
application/json
The note body.
Response
The note was created.
Show child attributes
Show child attributes
⌘I
Add a note
curl --request POST \
--url https://backend.leadey.ai/v1/leads/{id}/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday."
}
'import requests
url = "https://backend.leadey.ai/v1/leads/{id}/notes"
payload = { "text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: 'Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday.'})
};
fetch('https://backend.leadey.ai/v1/leads/{id}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "event_6Tk9wRmB",
"type": "note",
"outcome": null,
"stepIndex": 0,
"meta": {
"text": "Left a voicemail. Trying again Thursday morning.",
"userId": "user_2pXn4Rk"
},
"timestamp": "2026-08-03T11:09:20.000Z"
}
}{
"error": {
"message": "One of email, phone or linkedinUrl is required",
"details": null
}
}{
"error": {
"message": "Invalid or revoked API key.",
"details": null
}
}{
"error": {
"message": "This API key is read-only. Create a key with write access in Settings → API Keys.",
"details": null
}
}{
"error": {
"message": "Lead not found",
"details": null
}
}{
"error": {
"message": "Rate limit exceeded. Retry in 42s.",
"details": null
}
}