Skip to main content
POST
/
api
/
data
/
v1
/
data-files
Upload a File
curl --request POST \
  --url https://example.com/v1/api/data/v1/data-files \
  --header 'Content-Type: application/octet-stream' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '"<string>"'
{
  "dataFileId": 123
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication (Assumed based on similar APIs).

Query Parameters

name
string
required

The name to be given to the file in Domo.

description
string

A description of the file.

public
boolean

Whether the permissions of the file are set to public (default true). Set to false to restrict.

Body

application/octet-stream

The raw file content.

The body is of type file.

Response

Returns the ID of the created file.

dataFileId
integer