/v1/accounts/{accountId}/contactLists/{contactListId}Rinomina un elenco di contatti. Per cambiarne i numeri, usa Aggiungere numeri e Eliminare numeri.
ID del tuo account SIP Caller. Consulta ID dell'account.
ID dell'elenco di contatti.
Nome dell'elenco di contatti, tra 2 e 99 caratteri. Deve essere univoco nell'account.
Il valore updatedAt dell'elenco di contatti, così come restituito l'ultima volta che l'hai ottenuto, creato o modificato. Se nel frattempo l'elenco di contatti è stato modificato, la richiesta fallisce con 412 Precondition Failed. Consulta Aggiornamenti simultanei.
Restituisce l'oggetto elenco di contatti aggiornato.
/v1/accounts/ACCOUNT_ID/contactLists/CONTACT_LIST_ID
curl -X PUT 'https://api.sipcaller.com/v1/accounts/ACCOUNT_ID/contactLists/CONTACT_LIST_ID' \
-H 'Authorization: Bearer API_KEY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Overdue Accounts - October",
"lastUpdatedAt": "2026-08-13T18:03:28.729"
}'Risposta
200 OK
{
"id": "019ffc4b-1c59-72ed-b15a-cbf81a2b95d9",
"name": "Overdue Accounts - October",
"numbersCount": 1255,
"varNames": [
"Customer Name",
"Due Balance"
],
"updatedAt": "2026-09-26T19:05:15.123"
}