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 |
