LinkedInLinkedInSocial

Start an image upload for a LinkedIn post

linkedin.linkedin.image.upload.init

Start an image upload for a LinkedIn post and get the URN to attach

Price
freeプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/linkedin.linkedin.image.upload.initPreview
Try online近日公開Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

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:…

このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/linkedin.linkedin.image.upload.init' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。