Skip to main content
The App DB API allows developers to interact with AppDB, a NoSQL database for storing arbitrary JSON documents. This API supports CRUD operations, querying, and aggregation, enabling developers to manage data efficiently within their Domo applications.

Features

  • CRUD Operations: Create, read, update, and delete documents in AppDB collections.
  • Collection Management: Programmatically update collections.

Endpoints

Get Document

Description: Retrieve a specific document from a collection.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Response:

Query Document

Description: Retrieve a specific document from a collection via query.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Request Body:
Response:

List Documents

Description: Retrieve all documents from a specified collection. Note there is an upper limit of 10,000 documents. We recommend using pagination to retrieve large sets of documents.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Response:

Create Document

Description: Add a new document to a specified collection.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Request Body:
Response:

Update Document

Description: Modify an existing document in a collection.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Request Body:
Response:

Delete Document

Description: Remove a document from a collection.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Response:

Bulk Delete Documents

Description: Remove multiple documents from a collection in a single request. Please note, this will end up reaching the maximum url length limit of your browser/client. If you have a large number of documents to delete, this can be done in batches.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Response:

Update Collection Schema

Description: Update the schema of a collection.

Playground

HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Request Body:
Response:

Update Collection Permissions

Description: Update permissions for a collection as it relates to a specific Custom App. Proxy ID is available in the Asset Library

Playground

Parameter Options: HTTP Request:
Headers:
  • X-DOMO-Developer-Token: <developer token here>
  • Accept: application/json
  • Content-Type: application/json
Response: