Legacy Dev Forum Posts

 View Only

Sign Up

Add contacts to contact list

  • 1.  Add contacts to contact list

    Posted 06-05-2025 18:05

    vrvoice1 | 2017-04-25 08:28:20 UTC | #1

    Hi, I want to add new contacts to a ContactList. I don't want to upload a csv file, so I try PostOutboundContactlistContacts.

    List<DialerContact> body = new List<DialerContact>();

    var contact = new DialerContact("Sven L", Callable: true, ContactListId: cList.Id); contact.Data = new Dictionary<string, object>(); contact.Data.Add("Vorname", "Sven"); contact.Data.Add("Nachname", "Lxxxxx"); contact.Data.Add("ExternalId", "svenl"); contact.Data.Add("Link", "http://www.xxxxxxxxxxxx.de"); contact.Data.Add("Handy", "+499999999999"); contact.Data.Add("Festnetz", "+499999999999"); body.Add(contact);

    var list = outbound.PostOutboundContactlistContacts(cList.Id, body, false, false);

    For me that is working great. But I want to know if there is any limitation to add contacts via JSON? Something like you can add only 100 contacts by JSON but 1000000 by CSV.

    regards,

    Sven


    tim.smith | 2017-04-25 14:19:54 UTC | #2

    POST /api/v2/outbound/contactlists/{contactListId}/contacts will be limited to 100 contacts per request very soon (it's deployed to the APAC region, will land in others shortly). Uploading contact lists has no limit.


    system | 2017-08-28 19:34:06 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 1219