List the notes on a lead.
Notes written by members and connected apps, newest first.
GET
https://app.softsolz.uk/api/v1/services/my-leads/leads/{id}/notesRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
limitintegerPage size, 1-200 (default 50).
offsetintegerRows to skip.
Response
Response Body · array of objects
idintegerNote id.lead_idintegerLead the note belongs to.bodystringNote text.author_idinteger | nullMember who wrote it.author_namestring | nullAuthor display name.viastring | nullapi, connected_app or null.via_labelstring | nullApp or key name.created_atstringWhen it was written.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.myLeads.listLeadNotes('<id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": [ { "id": 0, "lead_id": 0, "body": "string", "author_id": 0, "author_name": "string", "via": "string", "via_label": "string", "created_at": "string" } ]}