APILinkedIn InMail
Get InMail credits
Get the InMail credits balance for a LinkedIn account. Automatically detects account type (Sales Navigator, Business Premium, Recruiter) and uses the appropriate API.
GET
/inmail/creditsAuthentication requiredInMail
Code Examples
curl -X GET 'https://api.connectsafely.ai/linkedin/inmail/credits?accountId=YOUR_ACCOUNT_ID' \ -H 'Authorization: Bearer <your_api_key>'Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
accountId | query | No | string | LinkedIn account ID. If omitted, uses the default account. |
debug | query | No | string | Set to "true" to include raw API response. |
Response
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request succeeded |
inMailCredits | number | Available InMail credits |
totalCredits | number | Total credits (Sales Navigator only) |
usedCredits | number | Used credits (Sales Navigator only) |
entityUrn | string | Entity URN for the credits |
accountId | string | LinkedIn account ID used |
premiumType | string | Account type: SALES_NAVIGATOR, BUSINESS_PREMIUM, RECRUITER, FREE, or UNKNOWN |
message | string | Additional info (e.g. for non-premium accounts) |
LinkedIn InMail API
Check InMail credits balance for LinkedIn accounts. Supports Sales Navigator, Business Premium, and Recruiter account types.
Get Social Selling Index (SSI)
Get the Sales Navigator Social Selling Index (SSI) for a LinkedIn account. Returns the overall SSI score (0-100), per-pillar breakdown with industry and network averages, and rank percentile within the account's industry and network. Requires a LinkedIn account with Sales Navigator access to the SSI dashboard.
