Brown Thrasher Labs
Brown Thrasher Labs

BTL · REST API

Ship against our API.

Full CRUD on every collection and record. JSON in, JSON out. API key authentication and tenant-scoped access.

01. Example

Create a record.

Every collection, record, dashboard, and permission is accessible via the API. Build custom workflows, sync with your CRM, or trigger alerts from upstream systems.

curl
$ curl -X POST \
   https://api.btl.app/v1/records \
   -H "Authorization: Bearer $TOKEN" \
   -H "Content-Type: application/json" \
   -d '{
     "collection": "contacts",
     "fields": {
       "name":  "Acme Corp",
       "email": "ops@acme.com"
     }
   }'

{ "id": "rec_2K9mxQ4", "ok": true }

02. Endpoints

Core endpoints.

Full CRUD for collections and records, plus public submission endpoints.

GET/v1/collections
GET/v1/collections/:id/records
POST/v1/collections/:id/records
PATCH/v1/records/:id
DELETE/v1/records/:id
POST/v1/submit/:collection

03. What you get

Production-grade, day one.

API key authentication

Scoped API keys per published collection, configurable in the dashboard.

Public & private endpoints

Published collections get public read/submit endpoints. Private CRUD for authenticated users.

Tenant-scoped

Every request is isolated to the tenant. No cross-tenant data leakage possible.

JSON everywhere

Consistent JSON request and response format across all endpoints.

Want the full spec?

Ready to build?

We'll walk through the API, set up your keys, and help you integrate during onboarding.