Facebook Pixel
ApiLinkedin messaging

Check Email Support

Check if a LinkedIn profile supports free email messaging (open profile)

POST/linkedin/messaging/check-email-support

Check Email Support

Check if a LinkedIn profile supports free email messaging (open profile). Useful for determining if InMail is required.

Authentication requiredLinkedIn Messaging

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 '{"profileId": "john-doe-123"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID (uses default if not provided)
profileIdstringYes*Target profile's LinkedIn public ID (required if profileUrn not provided)
profileUrnstringYes*Target profile's LinkedIn URN (required if profileId not provided)

* Either profileId or profileUrn must be provided.

Example

{
  "profileId": "john-doe-123"
}

Responses

StatusDescription
200Successful response

200 Example

{
  "success": true,
  "accountId": "acc_123456789",
  "profileId": "john-doe-123",
  "profileUrn": "urn:li:fsd_profile:ACoAAA...",
  "supportsFreeEmail": true,
  "message": "Profile supports free email messaging (open profile)"
}

Usage Notes

  • Open Profiles: Some LinkedIn users enable "Open Profile" which allows anyone to message them for free
  • InMail Requirement: If supportsFreeEmail is false, you'll need InMail credits or a connection to message
  • Sales Navigator: This is useful for determining outreach strategy before sending messages