Skip to main content
POST
Create Custom Table

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Body

application/json
name
string
required

Lowercase identifier, unique within the organization. Referenced by writers, agent tools and the generated typed view.

schema
Schema · object
required

Restricted JSON Schema profile: a flat object of scalar properties, exactly one carrying "x-key": true.

Response

Successful Response

A table row. Stats fields are present only on the single-table read.

id
integer
required
organization_id
string
required
name
string
required
schema
Schema · object
required
created_at
string | null
updated_at
string | null
created_by
string | null
modified_by
string | null
live_rows
integer | null
tombstoned_rows
integer | null
last_changed_at
string | null