Get the organization avatar upload URL
Returns where to upload the organization avatar. View request and response details for this Samva email API endpoint.
Returns where to upload the organization avatar. PUT the png, jpeg, or webp bytes (at most maxBytes) to uploadUrl with the same credential and a matching Content-Type; the response is { src }. Then send PATCH /v1/organizations/current with { avatarUrl: src }.
Authorization
apiKey In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/current/avatar-upload"{ "uploadUrl": "string", "maxBytes": 0, "contentTypes": [ "string" ]}Related documentation
Create an organization
Creates a new organization under the current billing account and returns it. Use this endpoint to create an organization through the Samva email API.
Delete the current organization
Starts an owner-authorized organization deletion operation, confirming the organization name in the request.