Facebook Pixel
APILinkedIn Messaging

Send typing indicator

Send a typing indicator to a LinkedIn conversation. Shows the recipient that you are typing a message. Useful for creating a more natural conversation experience before sending a message.

POST/messaging/typing-indicator
Authentication requiredMessaging

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/typing-indicator' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"conversationUrn":"urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
conversationUrnstringYesLinkedIn conversation URN to send typing indicator to

Example

{
  "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)"
}

Responses

StatusDescription
200Typing indicator sent successfully
400Bad request - Missing required parameter
401Unauthorized - Invalid or missing API key
500Server error or failed to send typing indicator

200 Response Parameters

NameTypeDescription
successboolean
accountIdstring
conversationUrnstring
messagestring

200 Example

{
  "success": true,
  "accountId": "696ce9e780e0483585e4e553",
  "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)",
  "message": "Typing indicator sent successfully"
}

400 Response Parameters

NameTypeDescription
successboolean
errorobject

400 Example

{
  "success": false,
  "error": "conversationUrn is required"
}

401 Example

{
  "error": "Unauthorized - Invalid credentials"
}

500 Example

{
  "success": false,
  "accountId": "696ce9e780e0483585e4e553",
  "conversationUrn": "urn:li:msg_conversation:...",
  "message": "Failed to send typing indicator"
}