Headlessly
REST API

REST API

HTTP endpoints for any client — same verbs, same entities, same semantics.

Every operation available via HTTP. Tenant-scoped URLs.

Base URL

https://headless.ly/~{tenant}

Entity CRUD

# Create
POST   /~my-startup/Contact
{ "name": "Alice", "email": "alice@vc.com", "stage": "Lead" }

# Get
GET    /~my-startup/Contact/contact_uLoSfycy

# Find
GET    /~my-startup/Contact?stage=Lead&limit=25&sort=-createdAt

# Update
PUT    /~my-startup/Contact/contact_uLoSfycy
{ "stage": "Qualified" }

# Delete
DELETE /~my-startup/Contact/contact_uLoSfycy

Verb Execution

POST /~my-startup/Contact/contact_uLoSfycy/qualify
POST /~my-startup/Deal/deal_k7TmPvQx/close
{ "wonStageId": "stage_won" }

Status

GET /~my-startup/status

Metrics

GET /~my-startup/metrics
GET /~my-startup/Metric/mrr

Events Stream

GET /~my-startup/events?since=2026-02-07T00:00:00Z

Time Travel

GET /~my-startup/Contact?stage=Lead&asOf=2026-01-15T10:00:00Z

Authentication

Authorization: Bearer hly_sk_...

On this page