Inbox
Send Message to Lead
Send a direct message to a lead by their ID
POST
Send a LinkedIn message to a lead using their ID. The lead’s LinkedIn URL is looked up automatically from the database. Supports template variables likeDocumentation Index
Fetch the complete documentation index at: https://docs.sendpilot.ai/llms.txt
Use this file to discover all available pages before exploring further.
{{firstName}} and {{lastName}}.
Request
Your API key
The lead ID to send the message to
The LinkedIn sender account ID to use. Get available senders from the List Senders endpoint.
The message content to send (max 8000 characters). Supports template variables:
{{firstName}}- Lead’s first name{{lastName}}- Lead’s last name
Response
Whether the message was sent successfully
Unique identifier for the sent message
The LinkedIn URL of the lead
The lead ID the message was sent to
Message status:
sentISO 8601 timestamp when the message was sent
Authorizations
API key for authentication
Path Parameters
The lead ID to send the message to
Body
application/json