API referenceLead notes
Delete a note
Only the author or a workspace manager can delete a person's note.
DELETE
Only the author or a workspace manager can delete a person's note.
header
X-API-Key<token>Create in the console: Settings → API & webhooks.
lead_id*Lead IdLead ID.
note_id*Note IdNote ID, from GET /leads/{leadId}/notes.
OK
application/json- response
Confirms the delete.
notesCount?|Live notes left on the lead.
success?|Always true.
[key: string]?anycurl -X DELETE 'https://api.callmitra.ai/api/v1/leads/string/notes/string'Example Response
{ "notesCount": 3, "success": true}Add a note POST
A note added with an API key is authored `api` and is kept like a note a person wrote.
List a lead's notes GET
The first page carries the lead's summary note (`brief`) and pinned notes; `items` are the other notes, newest first. Follow `nextCursor` for older notes. Replaces the deprecated `notes` text field.