Send message with typing indicator
Send a LinkedIn message after showing a typing indicator first. Creates a more natural conversation experience by simulating human-like behavior. Requires conversationUrn for existing conversations.
/messaging/send-with-typingSend message with typing indicator
Send a LinkedIn message after showing a typing indicator first. Creates a more natural conversation experience by simulating human-like behavior. Requires conversationUrn for existing conversations.
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/send-with-typing' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"message":"Hello! I would like to connect with you."}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
recipientProfileId | string | No | Recipient LinkedIn profile public ID |
recipientProfileUrn | string | No | Recipient LinkedIn profile URN |
message | string | Yes | Message content to send |
subject | string | No | Subject line (for InMail) |
messageType | string | No | Message type |
conversationUrn | string | No | Conversation URN (required for typing indicator in existing conversations) |
Example
{
"message": "Hello! I would like to connect with you."
}Responses
| Status | Description |
|---|---|
| 200 | Message sent successfully with typing indicator |
Send a message (messaging wrapper)
Send a LinkedIn message using the messaging endpoint. Wrapper around the core messaging functionality with a cleaner interface. Supports regular messages and InMail.
Send message with delivery acknowledgment
Send a LinkedIn message while acknowledging receipt of previous messages. Useful for replying to conversations where you want to mark received messages as acknowledged.
