How to fetch the messaging of linkedin user

794 views Asked by At

I wanted to fetch the messages that was sent to the other connected linkedin users.

I found a code sample to send the message in this site https://developer.linkedin.com/documents/sample-code-sending-message

But, I did not any sample to fetch the messages. However, when I tried to fetch the message with the query "/people/~/mailbox", I got the error "The remote server returned an error: (403) Forbidden."

In detail error message, I got "Access to mailbox denied".

These 2 documentations has listed only the Primary Endpoints "POST /people/~/mailbox" but has not mentioned about GET.

https://developer.linkedin.com/oauth-10a-overview https://developer.linkedin.com/documents/authentication#oauth2-redirect-uri

Is there any way to fetch the message? Or Is there any workaround? Any insights or help will be highly appreciated.

Thanks

1

There are 1 answers

2
Diego Regules On

I don't think Linkedin Inbox is supported any longer through their API. As per this answer on quora,

API is not publicly available but has been made available to several partners. The best thing to do is contact LinkedIn's BD team for access.

I was not able to see any specific mention to this type of access in their documentation.

Furthermore, check out APIGEE Snapshot for LinkedIn's 3 main API categories