API clients
Use the RGNotas REST API from any language, or generate a client from the OpenAPI contract.
RGNotas does not publish official SDKs yet. The API is REST with JSON, so any language with an HTTP client works, and every guide in this documentation applies the same way.
What a client needs to do
- Authenticate with the
X-API-Keyheader. The key picks the environment:rgnotas_test_...for test andrgnotas_live_...for production. - Read the error body (
code,message,details,requestId) and honorRetry-Afteron 429 and 503 responses. - Walk lists with cursor pagination (
pagination.nextCursor). - Send
Idempotency-Keywhen issuing an invoice or sending an e-mail, so a retried call never issues the invoice twice. - Verify webhook signatures (
X-RGNotas-Signature) in constant time.
For AI agents (Claude, Cursor and others), use the MCP server instead of writing a client.