Socials
Upload media
Changed onUploads an image or video from a public URL for use in posts. Any other file type is refused with 422.
post/socials/upload
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Idempotency-Key, string
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
object required
url, string required
Response
Uploaded media
Social Upload required
object, string required
id, string required
url, string required
filename, string nullable required
content_type, string nullable required
size_bytes, integer nullable required
thumbnail_url, string nullable required
created_at, string date-time required
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
3 more changes in this revision
- warning