0

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

Prakash
  • 422
  • 1
  • 12
  • 31
  • did you obtain an API key from LinkedIn?...and put it in the script?...without an API key, you won't have authorization to access the API, the "user" also need to be logged into to their LinkedIn account. – Colin Smith Aug 10 '14 at 11:09
  • Yes.I have obtained API key and used in my code. The user also logged into the Linkedin account. – Prakash Aug 10 '14 at 15:30

1 Answers1

-1

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

Diego Regules
  • 21
  • 1
  • 6
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – theB Nov 05 '15 at 13:49
  • Changed the response. Hopefully added more clarification. – Diego Regules Nov 05 '15 at 22:13