Create an address book contact

POST {{baseUrl}}/contact_center/address_books/:addressBookId/contacts

Use this API to create a new contact in an address book. During an active engagement, the Zoom desktop client will display information from the address book if that customer is a contact in the address book. If the consumer is not in the address book, agents can add a new contact and choose which address book the contact belongs to.

Scopes: contact_center_contact:write:admin

Rate Limit Label: Light

Request Body

{"phone_numbers"=>["<string>", "<string>"], "display_name"=>"<string>", "first_name"=>"<string>", "last_name"=>"<string>", "emails"=>["<email>", "<email>"], "location"=>"<string>", "account_number"=>"<string>", "company"=>"<string>", "role"=>"<string>", "variables"=>[{"variable_id"=>"<string>", "variable_value"=>"<string>"}, {"variable_id"=>"<string>", "variable_value"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;contact_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;display_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;first_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;phone_numbers&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;emails&quot;:[&quot;\u003cemail\u003e&quot;,&quot;\u003cemail\u003e&quot;],&quot;location&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;company&quot;:&quot;\u003cstring\u003e&quot;,&quot;role&quot;:&quot;\u003cstring\u003e&quot;,&quot;address_book_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;address_book_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;variables&quot;:[{&quot;variable_group_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;variable_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;variable_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;data_type&quot;:&quot;string&quot;,&quot;variable_value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;variable_group_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;variable_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;variable_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;data_type&quot;:&quot;string&quot;,&quot;variable_value&quot;:&quot;\u003cstring\u003e&quot;}]}