Skip to main content

Legal Pages

Legal pages are the legal documents in your workspace. The Legal Pages API lists them and creates new ones at /legals.

Overview​

Each legal page is returned as a project card: an id, a slug, a name, a status, and timestamps. A legal page created through the API starts as draft. The card does not include the document body.

Endpoints​

MethodEndpointDescription
POST/legalsCreate a legal page
GET/legalsList legal pages

Every field is present. A missing timestamp is null, not an omitted key.

FieldTypeDescription
idstringImmutable identifier (UUID)
slugstringURL label. It can change. The API does not address a legal page by its slug.
namestringDisplay name
statusstringdraft or published
created_atstring|nullISO 8601 timestamp (UTC)
updated_atstring|nullISO 8601 timestamp (UTC)
published_atstring|nullWhen the legal page was published, or null while it is a draft

Status​

StatusMeaning
draftNot published. published_at is null.
publishedPublished. published_at is the publish time.