Phone API - September, 19 2022
1663624146262
New
SMS campaign API
GET /v2/phone/sms_campaigns
GET /v2/phone/sms_campaigns/{smsCampaignId}
POST /v2/phone/sms_campaigns/{smsCampaignId}/phone_numbers
DELETE /v2/phone/sms_campaigns/{smsCampaignId}/phone_numbers/{numberId}
Policy setting API for shared line group
POST /v2/phone/shared_line_groups/{sharedLineGroupId}/policies/{policyType}
PATCH /v2/phone/shared_line_groups/{sharedLineGroupId}/policies/{policyType}
DELETE /v2/phone/shared_line_groups/{sharedLineGroupId}/policies/{policyType}
Policy setting API for call queue
POST /v2/phone/call_queues/{callQueueId}/policies/{policyType}
PATCH /v2/phone/call_queues/{callQueueId}/policies/{policyType}
UPDATE /v2/phone/call_queues/{callQueueId}/policies/{policyType}
Enhancements
New
delegation.locked
request and response field in Users setting APIGET /v2/phone/users/{userId}/settings
PATCH /v2/phone/users/{userId}/settings/{settingType}
New
policy.e2e_encryption
request and response field in Users and Sites APIGET /v2/phone/users/{userId}
PATCH /v2/phone/users/{userId}
GET /v2/phone/sites/{siteId}
PATCH /v2/phone/sites/{siteId}
New
auto_call_recorded
request and response field in External Contacts APIGET /v2/phone/external_contacts
POST /v2/phone/external_contacts
GET /v2/phone/external_contacts/{externalContactId}
PATCH /v2/phone/external_contacts/{externalContactId}
New
campaign
response field in Phone Numbers APIGET /v2/phone/numbers
GET /v2/phone/numbers/{phoneNumberId}
New fields (
external_number
,play_callee_voicemail_greeting
,require_press_1_before_connecting
,allow_caller_check_voicemail
) and objects (call_forwarding
,call_overflow
) in Setting Templates APIGET /v2/phone/setting_templates/{templateId}
PATCH /v2/phone/setting_templates/{templateId}
New
failure_reason
field added to SMS sent webhook eventphone.sms_sent
New
is_session_owner
field in SMS APIGET /phone/sms/sessions
GET /phone/users/{userId}/sms/sessions
GET /phone/users/{userId}/sms/sessions/sync
Bug Fixes
Fixed so the SMS Sent webhook event properly indicates whether the send succeeded or failed
phone.sms_sent
Fixed so the owner of the phone number can be properly identified in List user's SMS sessions in descending order API
GET /phone/users/{userId}/sms/sessions/sync
Fixed so the user with the
phone_call_log:read:admin scope
can no longer delete the call log using the Delete a user's call log APIDELETE /v2/phone/users/{userId}/call_logs/{callLogId}