Media
Create Media Upload URL
Creates a Media Upload URL
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Header Parameters
Members-Context?|
Members organization id (org_…) when the client has multiple organizations.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.members.dev/v1/media/upload" \ -H "Content-Type: application/json" \ -d '{ "media_type": "org_logo", "content_type": "image/png" }'{
"upload_url": "string",
"public_url": "string",
"object_key": "orgs/org_01ARZ…/logo_550e8400-e29b-41d4-a716-446655440000.png",
"expires_in": 300
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}