Openapi
Review an app (approve, reject, suspend, reactivate)
Authorization
BearerAuth AuthorizationBearer <token>
JWT access token for REST API endpoints (user-facing apps).
Authorization: Bearer <jwt_access_token>Tokens expire after 15 minutes. Use the refresh token to obtain a new one.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/oauth/admin/review" \ -H "Content-Type: application/json" \ -d '{ "app_id": "string", "action": "approve" }'Empty
{ "success": false, "error": { "code": "SCOPE_REQUIRED", "message": "API key lacks work_items:read scope", "request_id": "req_abc123", "documentation_url": "https://dev-developer.totalaccess.co.za/docs/api-reference/errors#scope_required" }}List apps for admin review GET
Admin-only endpoint. Returns pending review apps or all apps. Use `filter=pending` for pending apps, or `app_id` to get review history for a specific app.
Get WhatsApp client status GET
Returns the WhatsApp connection status, QR code (if available), and slot information.