Visit api.envoke.com to test APIs and get examples in 20+ languages
Upload a CSV file for whole contact list sync
Endpoint: /contacts/import/upload/sync
βHTTP method: POST
Content Type: multipart/form-data
βURL: https://e1.envoke.com/v1/contacts/import/upload/sync
IMPORTANT: Before using this API contact Envoke support to enable and add the required auto-import properties to your account.
Uploading a CSV file example:
Upload the CSV import file data formatted as Multipart form-data in a POST request. Make sure you use 'multipart/form-data' as the content-type.
NOTE: All example below show the POST URL followed by the POST data. Each example below also includes a cURL request. Make sure to change the API_ID and API_KEY with your values.
Endpoint:
https://e1.envoke.com/v1/contacts/import/upload/sync
Headers:
'Content Type': 'multipart/form-data'
Data:
cURL: -F file=@/path/to/your/file
or
More generally: { "file" : MULTIPART_FILE_DATA }
cURL example (-F formats data as 'multipart/form-data'):
curl -X POST -u API_ID:API_KEY -F "file=@/path/to/your/file" "https://e1.envoke.com/v1/contacts/import/upload/sync"