Postato Docs
API ReferenceMedia

Upload media (direct stream)

Upload one or more files as multipart/form-data. Files are streamed directly to storage without memory buffering. Returns the created media record(s).

POST
/v1/workspaces/{workspaceId}/media
AuthorizationBearer <token>

API key in the format smcp_<64 hex chars>.

In: header

Path Parameters

workspaceId*string

Workspace ULID

Response Body

application/json

application/json

application/json

curl -X POST "https://api.postato.com.br/v1/workspaces/string/media"
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}