List media assets
Lists the organization's media library, newest first, with cursor pagination. Use an asset's `url` as `media[].url` when creating posts.
Lists the organization's media library, newest first, with cursor pagination. Use an asset's url as media[].url when creating posts.
Organization API key as a Bearer token (postify_live_…).
In: header
Query Parameters
Page size (1–100).
1 <= value <= 10025Opaque cursor from a previous page's next_cursor.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/media"{ "data": [ { "id": "string", "filename": "string", "content_type": "string", "kind": "image", "status": "pending", "url": "string", "failure_reason": "string", "size_bytes": -9007199254740991, "width": -9007199254740991, "height": -9007199254740991, "duration_sec": 0, "created_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string"}List channels GET
Lists every social account connected to the organization, with connection health. Use a channel's `id` when creating post variants. Not paginated — the channel count is plan-bounded.
Start a media upload POST
Issues a presigned upload ticket: PUT the raw file bytes to `upload_url`, then call POST /v1/media/uploads/{id}/complete. Send `size_bytes` (strongly recommended, and it will be required in a future major version): it is checked against your plan's per-file limit and signed into the URL, so the PUT must send exactly that many bytes; without it the response carries a `Deprecation` header (an RFC 9745 date) and a `Link` with `rel="deprecation"`, the upload URL lives 5 minutes instead of 15, and the plan limit is enforced when the upload is completed, which measures the object. That path cannot stop a body PUT after you complete, or an upload you never complete, so send `size_bytes`. The PUT must also send the same `Content-Type` you declared here: the URL is signed for that value, and storage answers 403 to a PUT with a different one or none. Only image, video and audio types are accepted (SVG is refused), plus PDF, PPT, PPTX, DOC and DOCX documents (judged by the filename extension; other Office types such as XLSX are refused); the asset kind (image/video/audio/raw) is inferred from `content_type`. A type that is refused, or a size over your plan's per-file limit, answers 400 `validation_failed` with the offending field in `errors`. Call /complete within 24 hours: an upload that is not completed in that time is swept, and /complete then returns 404.