Back
API Reference · v1

Build on Praeva

Clean REST endpoints, OpenAPI 3.1 specced, webhooks, and signed payloads. Designed for production.

v1.4.2
99.99% uptime

Authentication

All requests use bearer token authentication. Keys are scoped per environment.

curl https://api.praeva.club/v1/members \
  -H "Authorization: Bearer prv_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "jane@example.com",
    "name": "Jane Doe",
    "referrer_code": "ELEANOR-7X4K",
    "consent": { "marketing": true, "policy_version": "2026-01" }
  }'
200 OK · application/json
{
  "id": "mem_01HZK9...",
  "email": "jane@example.com",
  "name": "Jane Doe",
  "status": "Founding",
  "referral_code": "JANE-9F2P",
  "referrer_id": "mem_01HZ8E...",
  "created_at": "2026-06-23T10:14:22Z"
}

Members

POST/v1/members
GET/v1/members/:id
PATCH/v1/members/:id
GET/v1/members

Referrals

POST/v1/referrals
GET/v1/referrals/:code
GET/v1/members/:id/referrals

Rules

POST/v1/rules/tiers
GET/v1/rules/tiers

Marketplace

GET/v1/listings
POST/v1/listings
PATCH/v1/listings/:id
DELETE/v1/listings/:id
POST/v1/leads

Webhooks

POST/v1/webhooks

Exports

POST/v1/exports/:dataset

Audit

GET/v1/audit

Errors

CodeStatusMeaning
400Bad RequestInvalid payload
401UnauthorizedMissing or invalid API key
403ForbiddenInsufficient scope
404Not FoundResource does not exist
409ConflictDuplicate referral / email
429Rate limitedToo many requests