Create Contact Point ==================== Overview This section contains the required and optional elements for contact point. Multiple contact points can be created for a contact person. Create email contact point ### Elements required in request body | Name | Description | | --- | --- | | emailAddress | Must be a valid email address. Refer [Email Address](/developer-portal/emailaddressvalidation) definition for the valid email address format. If "Customer departmentalization" setting is enabled in the application, the provided email address must not be associated with any existing contact points in the same department. If "Customer departmentalization" setting is disabled in application, the provided email address must not be associated with any existing contact points in the application. | ### Optional elements allowed in request body | Name | Description | | --- | --- | | priority.value | Priority of the contact point | | customAttributes | Name and value of all the custom attributes configured for the Contact Point Object. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. For string type of custom attribute that is not configured as an enumeration, refer list of [Allowed Characters For Custom Attributes](/developer-portal/customattributevalidation). | Create phone contact point ### Elements required in request body | Name | Description | | --- | --- | | type.value | Phone type. | | phoneNo | Phone number. This accepts any string representation. It is the client's responsibility to send in the correct number. | ### Optional elements allowed in request body | Name | Description | | --- | --- | | countryCode | Country code. | | areaCode | Area code. | | extension | Extension. | | availability.days.value | Days when available. | | availability.times.value | Time of day when available. | | priority.value | Priority of the contact point | | phone.customAttributes | Name and value of all the custom attributes configured for the Contact Point Object. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. For string type of custom attribute that is not configured as an enumeration, refer list of [Allowed Characters For Custom Attributes](/developer-portal/customattributevalidation). | Create postal contact point ### Elements required in request body | Name | Description | | --- | --- | | type.value | Postal type. | | address_1 | Address line 1 of the postal contact point. | ### Optional elements allowed in request body | Name | Description | | --- | --- | | address_2 | Address line 2 of the postal contact point. | | city | City of the postal contact point. | | state | State of the postal contact point. | | zip | Zip code of the postal contact point. | | country | Country of the postal contact point. | | region | Region of the postal contact point. | | priority.value | Priority of the contact point | | customAttributes | Name and value of all the custom attributes configured for the Contact Point Object. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. For string type of custom attribute that is not configured as an enumeration, refer list of [Allowed Characters For Custom Attributes](/developer-portal/customattributevalidation). | Create web contact point ### Elements required in request body | Name | Description | | --- | --- | | url | URL of the website contact point. | ### Optional elements allowed in request body | Name | Description | | --- | --- | | priority.value | Priority of the contact point | | customAttributes | Name and value of all the custom attributes configured for the Contact Point Object. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. For string type of custom attribute that is not configured as an enumeration, refer list of [Allowed Characters For Custom Attributes](/developer-portal/customattributevalidation). | Create social contact point ### Elements required in request body | Name | Description | | --- | --- | | type.value | Type of social contact point. | | socialId | Social ID of the social contact point. | ### Optional elements allowed in request body | Name | Description | | --- | --- | | priority | Priority of the contact point | | customAttributes | Name and value of all the custom attributes configured for the Contact Point Object. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. For string type of custom attribute that is not configured as an enumeration, refer list of [Allowed Characters For Custom Attributes](/developer-portal/customattributevalidation). |