func AddRecipientsToList(listID int, recipientIDs []string, apiKey string) error {
	recipients, err := json.Marshal(recipientIDs)
	if err != nil {
		return err
	}

	_, err = SendPOSTRequest(apiKey, "/contactdb/lists/"+strconv.Itoa(listID)+"recipients", string(recipients))
	return err
}
// AddRecipientsToList will add multiple recipients to a specfic list. (POST)
AddRecipientsToList will add multiple recipients to a specfic list. (POST)
// AddRecipientsToList will add multiple recipients to a specfic list . ( POST )
func AddRecipientsToList(listID int, recipientIDs []string, apiKey string) error {
	recipients, err := json.Marshal(recipientIDs)
	if err != nil {
		return err
	}
	_, err = SendPOSTRequest(apiKey, "/contactdb/lists/"+strconv.Itoa(listID)+"recipients", string(recipients))
	return err
}
func AddRecipientsToList ( listID int , recipientIDs [ ] string , apiKey string ) error { recipients , err := json . Marshal ( recipientIDs ) if err != nil { return err } _ , err = SendPOSTRequest ( apiKey , " " + strconv . Itoa ( listID ) + " " , string ( recipients ) ) return err }
AddRecipientsToList will add multiple recipients to a specfic list.
AddRecipientsToList will add multiple recipients to a specfic list .