v1

latestSwagger 2.02026-08-06114161439.7 KB
SMS Broadcast

Update a contact record in a contact list

Update a contact under a contact list

put/contact-lists/{id}/contacts/{contact_id}

Path parameters

idinteger required

The ID of the contact list containing this contact

contact_idinteger required

Contact ID to update

Request body

contact_namestring

Updated name of the contact. Type: string.

phone_numberstring

Phone number as a string of digits. Typically 10 digits for US numbers.

Example request

{
  "contact_name": "John Doe",
  "phone_number": "1234567890"
}

Response

Contact 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 updated successfully",
  "error": "Invalid contact ID"
}