Admin API
Admin management endpoints
Auto-generated from OpenAPI spec on 2025-10-02
GET /admin/security
GET security
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/security \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/operations
GET operations
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/operations \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/notifications
GET notifications
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/notifications \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /admin/notifications
POST notifications
🔒 Authentication Required: Bearer token
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/admin/notifications \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'GET /admin/revenue
GET revenue
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/revenue \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/feature-flags
GET feature-flags
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/feature-flags \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /admin/feature-flags
POST feature-flags
🔒 Authentication Required: Bearer token
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/admin/feature-flags \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'GET /admin/customers
GET customers
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/customers \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/audit
GET audit
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/audit \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/analytics
GET analytics
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/analytics \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /admin/sentry/issues
GET issues
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/admin/sentry/issues \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"PATCH /admin/feature-flags/{id}
PATCH id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X PATCH https://api.syaala.com/admin/feature-flags/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'DELETE /admin/feature-flags/{id}
DELETE id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X DELETE https://api.syaala.com/admin/feature-flags/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /admin/reports/generate
POST generate
🔒 Authentication Required: Bearer token
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/admin/reports/generate \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'PATCH /admin/notifications/{id}
PATCH id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X PATCH https://api.syaala.com/admin/notifications/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'DELETE /admin/notifications/{id}
DELETE id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X DELETE https://api.syaala.com/admin/notifications/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"