Organization
Get Billing Details
Returns billing information and payment methods for the organization in your authenticated session.
GET /api/organization/billing
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X GET "$BASE_URL/api/organization/billing" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"Notes:
- The organization is derived automatically from your authenticated session or API token.
- The legacy route
GET /api/organizations/:organizationPublicId/billingremains supported for compatibility. - The plural org-less alias
GET /api/organizations/billingis also supported. - Global admins need an active organization context in the authenticated session for the org-less route.
Response
{
"billingEmail": "billing@example.com",
"paymentMethod": "mollie"
}Common errors
400 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 cannot access the organization
Delete Package Config
Deletes a package config for an organization. Deletion is only allowed if no customers currently use the given :packageType. The package is resolved directly from the path parameter, so values like test1 work as long as they match the stored packageType.
Get Organization Details
Returns details of the organization from your authenticated session.