Platform
Response Body
application/json
curl -X GET "https://example.com/api/tenant/announcements/active"{ "maintenanceMode": true, "broadcastAnnouncement": null}curl -X GET "https://example.com/api/platform/plans/catalog"{ "plans": [ null ]}Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/plans"{ "plans": [ null ]}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/platform/plans" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "success": true, "id": 0}Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/platform/plans/string" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true}Query Parameters
"1""50"Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/audit-logs"{ "logs": [ null ], "pagination": { "page": 0, "limit": 0, "total": 0, "totalPages": 0 }}curl -X GET "https://example.com/api/platform/overview"nullQuery Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/businesses"{ "businesses": [ null ], "pagination": { "total": 0, "page": 0, "totalPages": 0 }}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/platform/businesses" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string", "ownerEmail": "[email protected]", "ownerPassword": "stringst" }'nullPath Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/platform/businesses/string"{ "success": true}Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/platform/businesses/string" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true}Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/platform/businesses/string/impersonate"{ "token": "string", "user": null, "business": null}Query Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/users"{ "users": [ null ], "pagination": { "total": 0, "page": 0, "totalPages": 0 }}Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/telemetry"{ "activeConcurrentCalls": 0, "totalCallsToday": 0, "avgCallDurationSeconds": 0, "dograhWorkflowHealth": "string", "twilioPool": { "totalNumbers": 0, "assignedNumbers": 0, "availableNumbers": 0 }, "recentCallLogs": [ null ]}curl -X GET "https://example.com/api/platform/financials"{ "mrr": 0, "arr": 0, "activeSubscriptionsCount": 0, "trialingCount": 0, "cancelledCount": 0, "estimatedOverageRevenue": 0, "stripeConnectCount": 0, "subscriptionDistribution": [ null ], "businessSubscriptions": [ null ]}Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/system-status"{ "maintenanceMode": true, "broadcastAnnouncement": null, "services": [ { "name": "string", "status": "operational", "latencyMs": 0, "uptimePercentage": 0 } ]}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/platform/maintenance" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "maintenanceMode": true}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/platform/announcements" \ -H "Content-Type: application/json" \ -d '{ "message": "string", "type": "info", "active": true }'{ "broadcastAnnouncement": null}Response Body
application/json
application/json
curl -X GET "https://example.com/api/platform/subscription"nullRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/platform/checkout" \ -H "Content-Type: application/json" \ -d '{ "interval": "monthly" }'{ "success": true, "url": "string"}Called by the browser on return from Stripe Checkout. The webhook does the same work asynchronously, but the redirect normally beats it — without this the business would look unpaid right after paying.
Query Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/platform/verify-session?session_id=string"{ "success": true, "status": "string"}Response Body
application/json
application/json
curl -X POST "https://example.com/api/platform/billing-portal"{ "success": true, "url": "string"}