Socials

Upload media

Uploads media from a public URL for use in posts.

post/socials/upload

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/socials/upload
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

urlstring required

Response

Uploaded media

objectstring required
idstring required
urlstring required
filenamestring nullable required
content_typestring nullable required
size_bytesinteger nullable required
thumbnail_urlstring nullable required
created_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.