Skip to main content
POST
Create Collection

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Query Parameters

datastoreId
string
required

The ID of the datastore to create the collection in.

Body

application/json
name
string

Name for the collection.

syncEnabled
boolean

Whether to enable periodic syncing to a linked Domo DataSet. Requires schema to be provided; the API returns a 400 if syncEnabled: true is passed without a schema.

schema
object

Response

Collection created.

id
string<uuid>

Unique identifier for the collection.

datastoreId
string<uuid>

ID of the datastore this collection belongs to.

defaultPermissions
any | null

Comma-separated default permission set for new app grants on this collection, or null if not set.

requiredAuthorities
any | null

Maps CollectionOperation names to required authority strings, or null if not set.

owner
integer

User ID of the collection owner.

name
string

Name of the collection.

datasourceId
string | null

ID of the linked Domo DataSet, or null if not yet linked.

schema
object
filters
any | null

Array of document-level filter predicates applied to read operations, or null if not set.

syncEnabled
boolean

Whether documents are periodically synced to the linked DataSet.

syncRequired
boolean

Whether a sync is pending.

fullReplaceRequired
boolean
lastSync
string<date-time> | null
createdOn
string<date-time>
updatedOn
string<date-time>
updatedBy
integer