Skip to content

API reference

The Reflex API is a RESTful JSON API available at https://reflex.expertweb.tools/api/v1.

Authentication

All API requests require a Bearer token. Generate an API token from your dashboard under Settings → API Tokens.

Authorization: Bearer <your-api-token>

Include this header in every request. Example:

bash
curl -H "Authorization: Bearer $REFLEX_API_TOKEN" \
  https://reflex.expertweb.tools/api/v1/servers

Tokens are scoped to a team. Each token can be given a name and revoked individually.

Base URL

https://reflex.expertweb.tools/api/v1

Rate limits

TierRequests per minute
Solo60
Studio120
Agency300

Rate limit headers are included in every response:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 118
X-RateLimit-Reset: 1714834200

Common endpoints

Servers

MethodEndpointDescription
GET/serversList all servers
GET/servers/{id}Get server details
GET/servers/{id}/metricsGet server metrics

Deployments

MethodEndpointDescription
GET/deploymentsList deployments
POST/deployments/triggerTrigger a deployment
GET/deployments/{id}Get deployment status
POST/deployments/{id}/rollbackRollback a deployment

Incidents

MethodEndpointDescription
GET/incidentsList incidents
GET/incidents/{id}Get incident details
GET/incidents/{id}/timelineGet incident timeline

Response format

All responses follow a consistent format:

json
{
  "data": { ... },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2026-05-04T10:30:00Z"
  }
}

Error format

json
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "The server_id field is required.",
    "request_id": "req_abc123"
  }
}

Webhooks

Reflex can send webhook notifications for deployments, incidents, and server status changes. Configure webhooks in your dashboard under Settings → Webhooks.

See Webhooks for payload formats and verification.

OpenAPI specification

The full OpenAPI 3.1 specification is available at:

https://reflex.expertweb.tools/openapi/v1.json

Interactive API documentation is available at /api/docs.

© Reflex by ExpertWeb. All rights reserved.