Organization
Update Billing Details
Updates billing information for the organization in your authenticated session.
PATCH /api/organization/billing
Request Body
{
"billingEmail": "billing@example.com"
}Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X PATCH "$BASE_URL/api/organization/billing" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"billingEmail": "billing@example.com"
}'Notes
billingEmailis currently the only supported field for this endpoint.- The organization is derived automatically from your authenticated session or API token.
- The legacy route
PATCH /api/organizations/:organizationPublicId/billingremains supported for compatibility. - The plural org-less alias
PATCH /api/organizations/billingis also supported. - Global admins need an active organization context in the authenticated session for the org-less route.
Common errors
400 Invalid request bodywhen the payload does not match the schema400 Organization ID is required in the authenticated sessionwhen no organization can be derived from the current session/token401 Unauthorizedwhen you are not logged in403 Forbiddenwhen you do not have admin access to update billing settings
Response
Returns the updated organization billing details. See Error Codes for error responses.