POST
/
v1
/
data-files
/
contacts
/
upload-file
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/data-files/contacts/upload-file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "size": 123,
    "status": "<string>",
    "created_at": "<string>",
    "created_ago": "<string>",
    "columns": "<string>",
    "total_rows": "<string>",
    "processed_rows": "<string>",
    "can_continue": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Response

200
application/json

DataFileResource

The response is of type object.