Postato Docs
API ReferenceMedia

Confirm presigned upload

Notify the server that the presigned PUT upload has completed. Transitions the media record from pending to ready.

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

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

In: header

Path Parameters

workspaceId*string

Workspace ULID

id*string

Media ID

Response Body

application/json

application/json

application/json

application/json

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