View all methods
orgfiles.upload
List previously uploaded org data files.
Facts
Method | POST https://api.getdx.com/orgfiles.upload |
Required scope | teams:manage |
Arguments
The API doesn’t enforce the format of files but they must abide by the formats outlined here in order to be processed later.
Name | Type | Description |
---|---|---|
token |
Token |
Auth token passed as an HTTP header. |
file |
Blob |
The CSV file with a size limit of 10MB. |
Usage info
This API method allows you to automate the sending of org data CSV files to DX. This API method does not initiate imports—please process imports manually using the DX UI.
Example request
This is a typical request:
curl -X POST 'https://api.getdx.com/orgfiles.upload' \
--header 'Authorization: Bearer xxxx-xxxxxxxxx-xxxx' \
--form 'file=@"/examples.csv"'
Example response
This is a typical success response:
{
"ok": true
}