HomeDocsMedia and assets
Guide

Media and assets

Get media into SocialClaw four ways — dashboard, API, CLI, and MCP — into one shared workspace library, reuse hosted delivery URLs as media_link, and let capabilities report each network's real media rules.

Four ways to get media in, one shared workspace library:

Every upload returns an asset with a hosted delivery URL — use it as media_link in schedules. List the library to reuse previously uploaded files, including dashboard uploads:

curl -sS "https://getsocialclaw.com/v1/assets?kind=image&limit=24" \
  -H "Authorization: Bearer $SOCIALCLAW_API_KEY"

Delete with DELETE /v1/assets/{assetId} — an optional retention window keeps the file servable for already-scheduled posts.

Platform rules: ask capabilities, not a spec sheet. Media limits differ per network and per account type. The capabilities endpoint is the live source of truth for what each connected account allows:

curl -sS https://getsocialclaw.com/v1/accounts/acct_123/capabilities \
  -H "Authorization: Bearer $SOCIALCLAW_API_KEY"

Known gotchas, handled for you: