API ReferenceMediaPresigned
Generate a MediaLit upload signature
Returns a short-lived MediaLit signature and endpoint. Upload image files directly to `${endpoint}/media/create/resumable` with the signature in the `x-medialit-signature` header.
Returns a short-lived MediaLit signature and endpoint. Upload image files directly to ${endpoint}/media/create/resumable with the signature in the x-medialit-signature header.
x-sendlit-apikey<token>
In: header
Response Body
application/json
application/json
curl -X POST "https://api.sendlit.dev/media/presigned"{
"signature": "string",
"endpoint": "string"
}{
"error": "string"
}