API referenceMedia
POST /media/upload-direct
Zernio's direct upload path: the same as POST /media (multipart file, or JSON {url})
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
{media}
application/json- response
media?curl -X POST 'https://example.com/api/v1/media/upload-direct'Example Response
{ "media": { "id": "string", "postId": "string", "fileName": "string", "mimeType": "string", "size": 0, "createdAt": "2019-08-24T14:15:22Z", "publicUrl": "string" }}