Update a phone number
Changed onYou need the "Manage Team Phone Numbers" permission to change most settings. If you're the only member of a number and no Group is assigned to it, you can change its label, voicemail greeting, and call forwarding without that permission.
You can:
- Change the label of the number.
- Set up call forwarding via forward_to and forward_to_enabled.
- Set up a voicemail greeting by including a URL of an mp3 recording in voicemail_greeting_url. We require the URL to be secure (i.e. starting with https://).
- Modify which users are assigned directly to the number via participants. This should be a list of user IDs.
- Modify which Groups are assigned to the number via participant_groups. This should be a list of Group IDs from the Groups API. Members of these Groups, including users added to a Group later, ring on inbound calls, receive notifications for the number, and can use it as outbound caller ID. You can assign at most 40 Groups.
- Modify which external phone numbers the number dials via phone_numbers. This should be a list of phone numbers in E.164 international format, e.g. "+16503334444".
- Change how long (in seconds, 15-90) the number rings on inbound calls before moving on (e.g. to voicemail) via inbound_ring_duration.
- Let users who are not members of the number use it as their outbound caller ID via non_member_caller_id_enabled.
- Let Local Presence pick the number for calls and SMS that voice agents make in Auto caller ID mode via voice_agents_local_presence_enabled. You cannot disable this setting while a voice agent uses the number.
- Let Local Presence pick the number by proximity for calls and SMS via local_presence_enabled.
You can set at most 40 users and external phone numbers combined in participants and phone_numbers.
A number's ring order is set in Close. A number that rings its members all at once rings at most 40 users and external phone numbers per inbound call. The users in participants and the external phone numbers in phone_numbers take priority. Members of the number's Groups who are allowed to make calls are added, chosen at random for each call, until 40 users and external phone numbers are ringing.
The per-call limit does not apply to a number that rings its members one at a time (round-robin).
Request
- Base URLhttps://api.close.com/api/v1
- URLhttps://api.close.com/api/v1/phone_number/{id}/
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://app.close.com/oauth2/authorize/Token URL: https://api.close.com/oauth2/token/
Path parameters
Request body
Response
Successful response
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
response property
is_premiumdeprecated
- info