API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
contact_detail
Property contact details
Fields
contact_typestring enum
required
Type of contact (primary, emergency, or unspecified)
Values
primaryemergencyunspecified · Example primarynamestring
Display name of the contact person
Example
Jane Doephone_numberstring
Phone number. Preferred key.
For backward compatibility, the API accepts and returns the deprecated key phoneNumber (camelCase) as well; clients may use either.
Example
123-456-7890emailstring
Email address for the contact
Example
abcd@xyz.comExample
{
"name": "Jane Doe",
"phone_number": "123-456-7890",
"email": "abcd@xyz.com",
"contact_type": "primary"
}