Error
A valid request URL is required to generate request examples{
"upload_url": "<string>",
"headers": {},
"public_url": "<string>"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Organizations
Sign a logo upload
Requires organization:update. Same shape as the avatar upload: presign, PUT to the bucket, then save public_url with PATCH /v1/organization.
POST
/
v1
/
organization
/
logo
/
upload-url
Error
A valid request URL is required to generate request examples{
"upload_url": "<string>",
"headers": {},
"public_url": "<string>"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Authorizations
Headers
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.
Body
application/json
Response
The presigned upload.
Everything the browser needs to PUT the file straight into the bucket, and everything the caller needs to reference it afterwards.