Developer Tool - Contacts Bulk

Hello Everyone,
I am having dificulties to use the following API # /api/v2/outbound/contactlists/{contactListId}/contacts/bulk.
This is the following error I have:
{
"status": 400,
"code": "bad.request",
"message": "The request could not be understood by the server due to malformed syntax.",
"contextId": "884b9f05-211e-4cd9-bd76-010ed080a516",
"details": [],
"errors": []
}

I am trying/looking for all contacts details with a specific contactlist.
Best Regards,
Ali

The error is: Can not deserialize instance of java.lang.String out of START_OBJECT token. Check your request against the documented schema. Your request doesn't match the contract somewhere.

Dear Tim,

Thank you for your help and support.
I am trying from this API to get all contacts inside the contact-list.
[
{
"id": "",
"name": "",
"contactListId": "2edbd369-0a77-4271-8f48-374cc3ac94c4",
"data": {

   },
   "callRecords": {},
   "callable": true,
   "phoneNumberStatus": {},
   "contactColumnTimeZones": {},
   "selfUri": ""
}
]

In the document, I have to provide all contacts IDs (or a list of contacts I want).
However, I am looking for this! I want to get all contact ids, contacts details, inside the contact list.

In other words, I need the same details provided in Export CSV file regarding the contacts.
Is it possible? Is there an API returns the details provided in Excel rather than downloading the file?

I need this for C#.NET development.

Thank you again, and best regards,
Ali

If you want all contacts in a contact list, use the export resource and download the CSV. That's the only option to get the whole list. You can use Excel to open the CSV file if you like.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.