Reference

API reference

Core resources. Full OpenAPI spec in the repository.

Base URL: https://api.bettermx.io/v1. JSON over HTTPS, bearer auth, cursor pagination, idempotency keys on POST.

text
POST   /endpoints                      create an endpoint
GET    /endpoints                      list endpoints
GET    /endpoints/{id}                 retrieve (with addresses + destinations)
DELETE /endpoints/{id}

GET    /messages                       list inbound messages
GET    /messages/{id}                  full payload + auth results
GET    /messages/{id}/deliveries       delivery attempts

GET    /api-keys  ·  POST /api-keys  ·  DELETE /api-keys/{id}
GET    /billing                        plan, entitlements, usage
GET    /audit-logs                     security events (admin)

POST   /auth/otp/request  ·  POST /auth/otp/verify  ·  POST /auth/refresh
The complete machine-readable spec is docs/openapi.yaml in the repository, and typed SDKs are generated from it.