Send Linkedin Inmail
Send a LinkedIn InMail to people outside your network.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderUrllinkedin-sender · required | linkedin-sender | required | LinkedIn account to send from. Select a connected LinkedIn account. Example: |
| apiTypestring · optional | string | optional | Which LinkedIn account type to use. Auto detects from account type. One of: Default: |
| recipientUrlstring · required | string | required | LinkedIn profile URL (e.g. https://linkedin.com/in/username). Supports template variables. Example: |
| subjectstring · required | string | required | Email subject line. Supports a {{…}} reference (an earlier step's output, the current Record's Field, or inside a For Each the loop item {{<For Each>.item.<Field>}}) for personalization. |
| messageModestring · required | string | required | Let AI write the message or write it yourself One of: Default: |
| promptstring · optional | string | optional | Prompt template. Use {{first_name}}, {{last_name}}, {{full_name}}, {{headline}}, {{company_name}}, {{company_position}}, {{location}} variables. Used only when messageMode is ai_personalized. Default: |
| messagestring · required if messageMode is manual and messageMode is manual | string | required if messageMode is manual and messageMode is manual | Message body. Use HTML for email (<p> tags) or plain text for chat. Supports template variables. |
| rateLimitConfigobject · optional | object | optional | Rate Limit Config configuration. Refer to the tool documentation for expected format. Default: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"code": {
"type": "string"
},
"data": {},
"meta": {
"type": "object",
"required": [
"actualCreditCost"
],
"properties": {
"actualCreditCost": {
"type": "number"
}
},
"additionalProperties": false
},
"note": {
"type": "string"
},
"sentAt": {
"type": "string"
},
"status": {
"enum": [
"sent",
"queued",
"failed",
"accepted",
"refused",
"uncertain"
],
"type": "string"
},
"inboxId": {
"type": "string"
},
"message": {
"type": "string"
},
"subject": {
"type": "string"
},
"success": {
"type": "boolean"
},
"delivery": {
"type": "string",
"const": "unconfirmed"
},
"senderId": {
"type": "string",
"description": "The connected account identifier that was acted from — a LinkedIn member URN."
},
"accountId": {
"type": "string"
},
"retryable": {
"type": "boolean",
"const": false
},
"senderUrl": {
"type": [
"string",
"null"
]
},
"is_replied": {
"type": "boolean",
"default": false,
"description": "Whether the recipient has replied (updated by the reply tracker; false until a reply is detected)."
},
"replied_at": {
"type": "string",
"description": "ISO timestamp when a reply was detected (present once replied)."
},
"recipientId": {
"type": "string"
},
"recipientUrl": {
"type": "string"
},
"reply_positive": {
"type": "boolean",
"description": "Whether the detected reply was classified positive (present once replied)."
},
"recruiterContext": {
"type": "object",
"required": [
"project",
"recipient",
"signature"
],
"properties": {
"project": {
"type": "object",
"required": [
"accountId",
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$"
},
"name": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"accountId": {
"type": "string",
"pattern": "^acc_[A-Za-z0-9_-]+$"
}
},
"additionalProperties": false
},
"recipient": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"candidate"
],
"properties": {
"kind": {
"type": "string",
"const": "candidate"
},
"candidate": {
"type": "object",
"required": [
"accountId",
"id",
"candidateId",
"name",
"visibility"
],
"properties": {
"id": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"name": {
"type": "string"
},
"headline": {
"type": "string"
},
"location": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^acc_[A-Za-z0-9_-]+$"
},
"projectId": {
"type": "string"
},
"profileUrl": {
"type": "string"
},
"visibility": {
"enum": [
"partial",
"full"
],
"type": "string"
},
"candidateId": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"pipelineStage": {
"type": "string"
},
"publicIdentifier": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"applicant"
],
"properties": {
"kind": {
"type": "string",
"const": "applicant"
},
"applicant": {
"type": "object",
"required": [
"project",
"applicantId",
"applicantProfileId",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"project": {
"type": "object",
"required": [
"accountId",
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$"
},
"name": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"accountId": {
"type": "string",
"pattern": "^acc_[A-Za-z0-9_-]+$"
}
},
"additionalProperties": false
},
"applicantId": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"applicantProfileId": {
"type": "string",
"maxLength": 2048,
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"signature": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"description": "AI Chat/MCP/ChatGPT only: exact project binding from list/get-recruiter-project and candidate from list-recruiter-pipeline-candidates or full applicant binding from list/get-recruiter-applicants. Provide sender signature. Forces selected Recruiter project InMail; no personal fallback, Workflow, Records or programs. Use manual message and subject as exact final text.",
"additionalProperties": false
},
"outcomeUnconfirmed": {
"type": "boolean"
}
},
"additionalProperties": false
}