cURL
curl --request POST \ --url 'https://api.precallai.com/api/v1/segment/contact/bulk-upload?id={id}' \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form file=@example-file
{ "message": "File uploaded successfully." }
Bulk upload contact’s audiences
file=@"C:\Users\xyz\Downloads\SampleAudienceList.csv"
The ID of the contact to get audiences
Contact audiences response
The response is of type object.
object