App Logo
linkedin.com

Get LinkedIn InMail credit balance

Read the account's remaining InMail credits from the LinkedIn Premium / Sales Navigator subscription page. Returns creditsRemaining plus creditsTotal and a reset date where LinkedIn shows them, and says which surface the figure came from.

Input

profileUrl required

A LinkedIn profile URL or public id of any out-of-network 2nd/3rd-degree member this account can InMail. Used only to open the compose panel that displays the balance -- no message is sent. Any valid InMail-eligible target works; the returned balance is an account-level figure, not specific to this person.

Output

canInmail required

True when this account has an InMail route to profileUrl and the composer showed a real 'Use N of M credits' line.

profileUrl required
creditsRemaining required

Live remaining InMail credit balance, read from the compose panel's 'Use 1 of N credits' line. Null when no InMail route exists to profileUrl, or the composer that opened was a free-message one (member already reachable, no credit involved).

note optional

Explains why canInmail is false or creditsRemaining is null, when applicable.

Start building not clicking