Skip to main content
This API reference documents the endpoints for managing FileSets and Files in Domo from within a Domo app.
BETA: This API is currently in BETA and is subject to change. Endpoints, request/response formats, and functionality may change without notice. Note: All code examples below are tested and match the working Domo app UI. Use domo.* methods for all API calls except File upload/download, which require fetch for binary or FormData support.

Get File by Path

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
Response:

Get File by Id

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
Response:

Download File by Id

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}/download
Path Parameters:
Note: Use fetch for File downloads. domo.get does not support binary downloads.
Response:
  • Returns the File contents as a download (binary/text stream).

Query Files

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/query
Path Parameters: Request Body Parameters:
Response:

Upload File

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/files
Path Parameters:
Note: Use fetch for file uploads. Always set the file content type to text/plain for text files, as in the app code.
Response:

Search Files in FileSet

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/files/search
Path Parameters: Query Parameters: Request Body Parameters: Filter Object Properties: FieldSort Object Properties: DateFilter Object Properties:
Response:

Delete Files by Path

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
Response:

Delete File by Id

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
Response:

Search FileSets

Method: POST
Endpoint: /domo/files/v1/filesets/search
Query Parameters:
Note: To list all FileSets, send an empty object as the body. To filter, provide filter parameters in the body.
Request Body Parameters: Filter Object Properties: FieldSort Object Properties: DateFilter Object Properties:
Response:

Create FileSet

Method: POST
Endpoint: /domo/files/v1/filesets
Request Body Parameters: ConnectorContext Object Properties:
Response:

Get FileSet by Id

Method: GET Endpoint: /domo/files/v1/filesets/{filesetId} Path Parameters:
Response:

Update FileSet by Id

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}
Path Parameters: Request Body Parameters:
Response:

Delete FileSet by Id

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}
Path Parameters:
Response: