API Reference

Base URL: https://api.example.com/v1

Authentication

Use a bearer token in the Authorization header: Authorization: Bearer YOUR_API_KEY.

Endpoints

List Members

GET /v1/members?limit=25&offset=0
{
  "data": [ { "id": "mem_123", "name": "Acme Co" } ],
  "limit": 25,
  "offset": 0,
  "total": 1
}

Create Member

POST /v1/members
Content-Type: application/json
{
  "name": "Acme Co",
  "email": "info@acme.co"
}

Errors

Errors return standard HTTP status codes and a JSON body with error and message fields.