APILinkedIn Messaging
Check if profile supports email messaging
Check whether a LinkedIn profile has email messaging enabled. Some LinkedIn members allow direct email contact through their profile. Use this to verify before attempting email outreach.
POST
/messaging/check-email-supportCheck if profile supports email messaging
Check whether a LinkedIn profile has email messaging enabled. Some LinkedIn members allow direct email contact through their profile. Use this to verify before attempting email outreach.
Authentication requiredMessaging
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/check-email-support' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"accountId":"acc_12345","profileId":"john-doe-123","profileUrn":"urn:li:fsd_profile:ACoAABcdefgh"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
profileId | string | No | LinkedIn profile public ID (e.g., "john-doe-123") |
profileUrn | string | No | LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123") |
Example
{
"accountId": "acc_12345",
"profileId": "john-doe-123",
"profileUrn": "urn:li:fsd_profile:ACoAABcdefgh"
}Responses
| Status | Description |
|---|---|
| 200 | Email support status retrieved successfully |
Mark all messages as read
Mark all LinkedIn messages as read for the authenticated account. Clears all unread indicators in the inbox. Useful for bulk inbox management.
LinkedIn Search API
Search LinkedIn for jobs, companies, groups, and people programmatically. Use advanced filters for location, industry, job type, and more via the ConnectSafely API.
