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>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
51200
DataFileResource
Show child attributes