v1

latestSwagger 2.02026-08-06114161439.7 KB
SMS Broadcast

Update contact list details

Update the name and description of an existing contact list

put/contact-lists/{id}

Path parameters

idinteger required

The ID of the contact list to update

Request body

contact_list_namestring required

Name of the contact list. Type: string.

contact_list_descriptionstring

Description of the contact list. Type: string.

Example request

{
  "contact_list_name": "My Contact List",
  "contact_list_description": "This is a list of important contacts"
}

Response

Contact list updated successfully

statusstring

Status of the operation. Type: string.

messagestring

SMS message body. String. Max length set by carrier (typically 160 chars for single-segment, up to 1600 for concatenated).

errorstring

Error message if operation failed. Type: string.

Example response

{
  "status": "success",
  "message": "Contact list updated successfully",
  "error": "Invalid contact list ID"
}