Contacts
Manage contact groups and the contacts in them, then target a whole group from Send SMS with group_id_list.
- GETList groups
/sms-api/contact/getGroupsAll contact groups on the account with the number of contacts in each.
- POSTCreate group
/sms-api/contact/addGroupCreates an empty contact group. Names are unique per account.
- PATCHUpdate group
/sms-api/contact/updateGroup/{groupId}Rename a group or change its icon. Only the fields you send are changed.
- DELETEDelete group
/sms-api/contact/deleteGroup/{groupId}Deletes a group and the contacts in it.
- GETList contacts in a group
/sms-api/contact/getContacts/{groupId}Contacts in a group, 15 per page. An empty group returns the plain envelope with an empty data array instead of the paginated one.
- POSTAdd a contact
/sms-api/contact/addContactAdds one contact to a group you own.
- POSTAdd contacts in bulk
/sms-api/contact/addBulkContactAdds many contacts to one group in a single call. All rows are validated before any are inserted.
- PATCHUpdate a contact
/sms-api/contact/updateContact/{contactId}Change any of a contact's details. Only the fields you send are changed.
- DELETEDelete a contact
/sms-api/contact/deleteContact/{contactId}Removes a contact from its group.