Guide
Environments
Pick the target environment from the Servers dropdown in Swagger UI, or replace the host in curl.
Available environments
| Environment | Base URL | Notes |
|---|---|---|
| production | https://api.contabeleza.com.br | Read-only unless you know what you're doing |
| staging | https://api.staging.contabeleza.com.br | Same data shape; safe for writes |
| qa | https://api.qa.contabeleza.com.br | Reset frequently; destructive testing |
| local mock | http://localhost:4321 | No auth required; returns examples only |
Switching
- Swagger UI — pick from the Servers dropdown at /docs
- curl — replace the host; the path, headers and body are identical
- Local mock — every documented path is mounted on this server