Organization
Organization — 1 operations (GET /v1/organization/usage). Generated from the OpenAPI 3.1.0 contract.
Organization profile, members, audit log and usage/quota report. Requires an org-wide admin key.
Base URL: https://api.pushizo.com · Tag: organization · Interactive docs (Scalar)
Operations
| Method | Path | Operation |
|---|---|---|
GET | /v1/organization/usage | Organization usage and plan quotas (org-wide key) |
Details
Organization usage and plan quotas (org-wide key)
Authentication: API key — scope analytics:read (admin includes every scope).
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
days | query | integer | No | Default: 30; Range: 7–90 | 7 |
Responses
200 — Success.
Schema: UsageReport
| Field | Type | Required | Description |
|---|---|---|---|
org_id | string | Yes | |
plan_code | string | Yes | |
period | object | Yes | |
period.start | string | Yes | |
period.end | string | Yes | |
metrics | array<object> | Yes | |
metrics[].metric | string | Yes | |
metrics[].used | number | Yes | |
metrics[].limit | number | null | Yes | |
metrics[].percent | number | null | Yes | |
metrics[].hard | boolean | Yes | |
apps | array<object> | Yes | |
apps[].app_id | string | Yes | |
apps[].name | string | Yes | |
apps[].messages_sent | number | Yes | |
apps[].active_subscriptions | number | Yes | |
apps[].mau | number | Yes | |
daily | array<object> | Yes | |
daily[].date | string | Yes | |
daily[].messages_sent | number | Yes | |
daily[].api_requests | number | Yes | |
daily[].events_ingested | number | Yes | |
trialing | boolean | Yes | |
trial_ends_at | string | null | Yes | |
overage | object | null | No |
Example response:
{
"org_id": "org_01JD3W5Q7X9K2M4N6P8R0T1V3W",
"plan_code": "örnek",
"period": {
"start": "2026-10-01T00:00:00Z",
"end": "2026-10-17T00:00:00Z"
},
"metrics": [
{
"metric": "örnek",
"used": 1.5,
"limit": 50,
"percent": 1.5,
"hard": true
}
],
"apps": [
{
"name": "Sipariş bildirimleri",
"app_id": "app_01JD3W5Q7X9K2M4N6P8R0T1V3W",
"messages_sent": 1.5,
"active_subscriptions": 1.5,
"mau": 1.5
}
],
"daily": [
{
"date": "örnek",
"messages_sent": 1.5,
"api_requests": 1.5,
"events_ingested": 1.5
}
],
"trialing": true,
"trial_ends_at": "örnek",
"overage": {
"lines": [
{
"metric": "örnek",
"included": 1.5,
"used": 1.5,
"billable": 1.5,
"amounts": {
"USD": 1.5,
"TRY": 1.5
}
}
],
"totals": {
"USD": 1.5,
"TRY": 1.5
}
}
}Errors use the common envelope (error.code, message, details, request_id): error catalog. Every response carries X-RateLimit-* headers (rate limits).
Examples
curl -X GET "https://api.pushizo.com/v1/organization/usage" \
-H "Authorization: Bearer $PUSHIZO_API_KEY"Apps
Apps — 9 operations (GET /v1/apps/{appId}/sdk-errors, GET /v1/organization, GET /v1/organization/members, …). Generated from the OpenAPI 3.1.0 contract.
API keys
API keys — 5 operations (GET /v1/apps/{appId}/api-keys, POST /v1/apps/{appId}/api-keys, PATCH /v1/apps/{appId}/api-keys/{keyId}, …). Generated from the OpenAPI 3.1.0 contract.