Contact preferences
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pageintegerOptional
A page number within the paginated result set.
page_sizeintegerOptional
Number of results to return per page.
Responses
200Success
application/json
get
/api/unified-communications/contact-preferences200Success
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstring · uuidRead-onlyRequired
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyRequired
contactstring · max: 255Required
reasonstring · nullableOptional
Reason for the restriction.
countrystring · max: 255 · nullableOptional
do_not_textbooleanOptional
do_not_callbooleanOptional
do_not_emailbooleanOptional
Responses
201Success
application/json
post
/api/unified-communications/contact-preferences201Success
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
A UUID string identifying this contact preference.
Responses
200Success
application/json
get
/api/unified-communications/contact-preferences/{id}200Success
put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
A UUID string identifying this contact preference.
Body
idstring · uuidRead-onlyRequired
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyRequired
contactstring · max: 255Required
reasonstring · nullableOptional
Reason for the restriction.
countrystring · max: 255 · nullableOptional
do_not_textbooleanOptional
do_not_callbooleanOptional
do_not_emailbooleanOptional
Responses
200Success
application/json
put
/api/unified-communications/contact-preferences/{id}200Success
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
A UUID string identifying this contact preference.
Responses
204
No response body
delete
/api/unified-communications/contact-preferences/{id}204
No response body
No content
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
A UUID string identifying this contact preference.
Body
idstring · uuidRead-onlyOptional
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyOptional
contactstring · max: 255Optional
reasonstring · nullableOptional
Reason for the restriction.
countrystring · max: 255 · nullableOptional
do_not_textbooleanOptional
do_not_callbooleanOptional
do_not_emailbooleanOptional
Responses
200Success
application/json
patch
/api/unified-communications/contact-preferences/{id}200Success