{"provider":{"service":"linkedin","display_name":"LinkedIn","limits":"daily application and per-member throttles","pricing_url":"https://learn.microsoft.com/linkedin/","docs":"https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin"},"platforms":[{"slug":"linkedin","label":"LinkedIn","tools":[{"id":"linkedin.linkedin.user.post.create","provider":"linkedin","provider_display":"LinkedIn","name":"Publish a post to your own LinkedIn feed","summary":"Publish a text or link post to your own LinkedIn feed","method":"POST","path":"/rest/posts","scope":"own_account","tier":"core","kind":"action","domain":"user","call_template":"treg call linkedin.linkedin.user.post.create --method POST --data '{\"author\":\"urn:li:person:ABC123xyz\",\"commentary\":\"Shipping something new today.\",\"visibility\":\"PUBLIC\",\"distribution\":\"<object>\",\"lifecycleState\":\"PUBLISHED\"}'","cost":{"type":"free","value":0,"currency":"USD","unit":"call","note":"included with the connected account; capped by LinkedIn's daily share throttles (per member and per app)","usd":0.0},"async":null,"platform_eligible":false,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api","has_example":false,"input":{"body":{"author":{"type":"string","required":true,"note":"member URN — urn:li:person:{sub} from linkedin.user.profile; treg's connection already stores it","example":"urn:li:person:ABC123xyz"},"commentary":{"type":"string","required":true,"note":"the post text; ( ) [ ] { } < > @ | ~ must be backslash-escaped","example":"Shipping something new today."},"visibility":{"type":"string","required":true,"note":"PUBLIC | CONNECTIONS","example":"PUBLIC"},"distribution":{"type":"object","required":true,"note":"send {\"feedDistribution\":\"MAIN_FEED\",\"targetEntities\":[],\"thirdPartyDistributionChannels\":[]}"},"lifecycleState":{"type":"string","required":true,"example":"PUBLISHED"},"isReshareDisabledByAuthor":{"type":"boolean","required":false,"example":false}},"bodyType":"json","note":"headers are mandatory and unusual: `LinkedIn-Version: 202601` (a YYYYMM version LinkedIn retires quarterly) and `X-Restli-Protocol-Version: 2.0.0`. Success is HTTP 201 with the post URN in the x-restli-id response header, not in the body. Images/video need a separate initializeUpload call first"},"test_request":null,"reviews":{"teams":0,"samples":[{"usefulness":"useful","reason":"Post LinkedIn publié avec succès, HTTP 201, texte longue forme et hashtags acceptés.","client":"mcp","month":"2026-11"}]}},{"id":"linkedin.linkedin.user.profile","provider":"linkedin","provider_display":"LinkedIn","name":"Your connected LinkedIn profile — name, email, member id","summary":"Get the connected LinkedIn member's identity (name, headline picture, email, member id)","method":"GET","path":"/v2/userinfo","scope":"own_account","tier":"core","kind":"data","domain":"user","call_template":"treg call linkedin.linkedin.user.profile","cost":{"type":"free","value":0,"currency":"USD","unit":"call","note":"included with the connected account; LinkedIn applies daily per-app and per-member call limits, no per-call price","usd":0.0},"async":null,"platform_eligible":false,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2","has_example":false,"input":{"note":"no parameters — the token identifies the member. Returns OpenID Connect claims: sub (the member id), name, given_name, family_name, picture, email, locale. The author URN every post needs is urn:li:person:{sub}"},"test_request":null,"compare":{"capability":"linkedin.user.profile","key":"user.profile","providers":11,"description":"Get a member's profile"}},{"id":"linkedin.linkedin.video.upload.finalize","provider":"linkedin","provider_display":"LinkedIn","name":"Finish a LinkedIn video upload before attaching to a post","summary":"Finish a LinkedIn video upload so the video can be attached to a post","method":"POST","path":"/rest/videos?action=finalizeUpload","scope":"own_account","tier":"core","kind":"utility","domain":"video","call_template":"treg call linkedin.linkedin.video.upload.finalize --method POST --data '{\"finalizeUploadRequest\":{\"video\":\"urn:li:video:C4E10AQ…\",\"uploadToken\":\"\",\"uploadedPartIds\":[\"etag-part-1\",\"etag-part-2\"]}}'","cost":{"type":"free","value":0,"currency":"USD","unit":"call","note":"included with the connected account; no per-call price, LinkedIn throttles per member and per app","usd":0.0},"async":null,"platform_eligible":false,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api","has_example":false,"input":{"body":{"finalizeUploadRequest":{"type":"object","required":true,"note":"{\"video\": \"urn:li:video:…\", \"uploadToken\": \"\", \"uploadedPartIds\": [\"<etag of part 1>\", …]} — uploadToken is an empty string, and uploadedPartIds must be the etags IN UPLOAD ORDER","example":{"video":"urn:li:video:C4E10AQ…","uploadToken":"","uploadedPartIds":["etag-part-1","etag-part-2"]}}},"bodyType":"json","note":"finalizing does not make the video usable — LinkedIn then transcodes it asynchronously. Poll GET /rest/videos/{url-encoded urn} until status is AVAILABLE before referencing it in content.media.id, or /rest/posts rejects the post. NOTE: a w_member_social (personal) token is write-only on /rest/documents, so a PDF carousel cannot be polled the same way — wait a fixed ~10s instead"},"test_request":null},{"id":"linkedin.linkedin.video.upload.init","provider":"linkedin","provider_display":"LinkedIn","name":"Start a video upload for a LinkedIn post","summary":"Start a video upload for a LinkedIn post and get its part-upload URLs","method":"POST","path":"/rest/videos?action=initializeUpload","scope":"own_account","tier":"core","kind":"utility","domain":"video","call_template":"treg call linkedin.linkedin.video.upload.init --method POST --data '{\"initializeUploadRequest\":{\"owner\":\"urn:li:person:ABC123xyz\",\"fileSizeBytes\":8388608,\"uploadCaptions\":false,\"uploadThumbnail\":false}}'","cost":{"type":"free","value":0,"currency":"USD","unit":"call","note":"included with the connected account; no per-call price, LinkedIn throttles per member and per app","usd":0.0},"async":null,"platform_eligible":false,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api","has_example":false,"input":{"body":{"initializeUploadRequest":{"type":"object","required":true,"note":"{\"owner\": \"urn:li:person:{sub}\", \"fileSizeBytes\": <exact byte count>, \"uploadCaptions\": false, \"uploadThumbnail\": false} — fileSizeBytes is mandatory and must be exact; LinkedIn sizes the part list from it","example":{"owner":"urn:li:person:ABC123xyz","fileSizeBytes":8388608,"uploadCaptions":false,"uploadThumbnail":false}}},"bodyType":"json","note":"returns {value: {video, uploadInstructions: [{uploadUrl, firstByte, lastByte}, …]}}. PUT each 2 MB part to its own uploadUrl and KEEP the `etag` response header of every part — finalizeUpload will not accept the video without the full ordered list. Then call linkedin.video.upload.finalize"},"test_request":null},{"id":"linkedin.linkedin.image.upload.init","provider":"linkedin","provider_display":"LinkedIn","name":"Start an image upload for a LinkedIn post","summary":"Start an image upload for a LinkedIn post and get the URN to attach","method":"POST","path":"/rest/images?action=initializeUpload","scope":"own_account","tier":"core","kind":"utility","domain":"image","call_template":"treg call linkedin.linkedin.image.upload.init --method POST --data '{\"initializeUploadRequest\":{\"owner\":\"urn:li:person:ABC123xyz\"}}'","cost":{"type":"free","value":0,"currency":"USD","unit":"call","note":"included with the connected account; no per-call price, LinkedIn throttles per member and per app","usd":0.0},"async":null,"platform_eligible":false,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/images-api","has_example":false,"input":{"body":{"initializeUploadRequest":{"type":"object","required":true,"note":"{\"owner\": \"urn:li:person:{sub}\"} — the member URN from linkedin.user.profile","example":{"owner":"urn:li:person:ABC123xyz"}}},"bodyType":"json","note":"same mandatory headers as the post route (LinkedIn-Version: 202601, X-Restli-Protocol-Version: 2.0.0). The response is {value: {uploadUrl, image}} — `image` is the urn:li:image:… you put in the post's content.media.id, `uploadUrl` is where you PUT the raw bytes in a single request (see the block comment). The URL expires quickly; upload right after initializing. A PDF carousel uses the identical shape at /rest/documents?action=initializeUpload and yields a urn:li:document:…"},"test_request":null}]}]}