SnozeDevelopers
API referenceAdmin deals

List enterprise deals

Every enterprise deal with its workspace, seats and monthly value, plus pipeline metrics. Platform admins only.

GET
/v1/admin/deals
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/admin/deals"
{  "data": {    "deals": [      {        "deal": {          "id": "string",          "workspaceId": "string",          "status": "draft",          "label": "string",          "customerName": "string",          "billingEmail": "string",          "notes": "string",          "billingMode": "polar",          "pricingModel": "per_seat",          "amountCents": 2147483647,          "currency": "string",          "interval": "month",          "committedSeats": 100000,          "startsAt": "string",          "endsAt": "string",          "autoRenew": true,          "maxEditorSeats": 0,          "maxRecords": 0,          "automationRunsBasePerMonth": 0,          "automationRunsPerSeatPerMonth": 0,          "maxAutomations": 0,          "maxDashboards": 0,          "maxForms": 0,          "maxStorageBytes": 0,          "historyRetentionDays": 0,          "features": [            "integrations"          ],          "aiMonthlyPoolMicrousd": 2147483647,          "aiMonthlyPerSeatMicrousd": 2147483647,          "aiBurstMicrousd": 2147483647,          "aiAutoWindowMicrousd": 2147483647,          "aiAutoDailyMicrousd": 2147483647,          "polarProductId": "string",          "polarCheckoutUrl": "string",          "polarSubscriptionId": "string",          "activatedAt": "string",          "endedAt": "string",          "endedReason": "string",          "createdAt": "string",          "updatedAt": "string"        },        "workspaceName": "string",        "workspaceSlug": "string",        "billableSeats": 0,        "mrrCents": 0,        "subscriptionStatus": "string"      }    ],    "metrics": {      "active": 0,      "pendingPayment": 0,      "draft": 0,      "mrrCents": 0,      "endingWithin30Days": 0    }  }}