Data model
These are the resources the Open API works with. All of them belong to a space.
Organization ── Space ─┬─ ContentType ── ContentEntry
├─ ContentAsset
├─ Inquiry (inbound)
└─ Outbound (outbound)Space
The unit of data isolation. A space belongs to an organization. Each API key is issued for a single space, so requests never specify a space.
ContentType
Defines the structure (schema) of your content. It's what the console calls a content type.
| Property | Description |
|---|---|
name | Display name |
api_id | Identifier (slug) used in API paths. ^[a-zA-Z0-9_]+$, unique within the space |
fields | Array of field definitions — { id, name, type, required, is_title } |
Field types include text, rich text, media and more. Each field's id is used as-is as the key in the API response's values.
ContentEntry
An actual piece of content that follows its content type's structure. Fetch entries with Content delivery.
| Property | Description |
|---|---|
values | Map of field_id → value. Rich text is a document (JSON); media is an asset id |
status | draft · scheduled · published · changed · archived — only published entries are served by the API |
published_at | Publish time |
ContentAsset (media)
Media files such as images. An asset has url, filename, alt, width, height and size, and is referenced by id from an entry's media field. Get its url with Retrieve media.
Inquiry (inbound)
A customer who reached out to you first. Creating one with Create inquiries adds a new (new) inquiry on the website channel to the unified inbox. If a contact with the same email or phone exists, the inquiry is linked to that contact; if a company with the same name exists, it's linked to that company.
Outbound
Someone you reach out to first. Creating one with Create outbounds adds it to the outbound list with the first status (Not contacted by default) and no owner. Statuses can be edited per space in the console, and when a lead responds you convert it to an opportunity or deal in the console.