Modificare un elenco di contatti

PUT/v1/accounts/{accountId}/contactLists/{contactListId}

Rinomina un elenco di contatti. Per cambiarne i numeri, usa Aggiungere numeri e Eliminare numeri.

Parametri di percorso

accountIduuidObbligatorio

ID del tuo account SIP Caller. Consulta ID dell'account.

contactListIduuidObbligatorio

ID dell'elenco di contatti.

Corpo della richiesta

namestringObbligatorio

Nome dell'elenco di contatti, tra 2 e 99 caratteri. Deve essere univoco nell'account.

lastUpdatedAttimestampObbligatorio

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

Restituisce l'oggetto elenco di contatti aggiornato.

PUT

/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" }


SIP Caller
© 2026 Easy Caller LLC Tutti i diritti riservati
LinkedinYou Tube
Trustpilot