Add files

POST {{baseUrl}}/api/organizations/:organizationId/data/:dataId/add

Add a new file to an existing data item. Don't trust the code generated by the widget, there are examples of using this API in Python, cURL and Node.js under the parameters.

Request Body

[{"name"=>"files[]", "value"=>"[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;error&quot;:&quot;\u003cstring\u003e&quot;}