CreateContactRequest
Body for creating a new contact. The kind field selects the shape; member contacts derive their snapshot payload from upstream rows while custom contacts take it from the request body verbatim. For kind=member: provide user_id and location_id (required) and optionally phone_id. The snapshot is composed from the linked rows; any snapshot fields sent in the body are ignored except for disclose, which is a contact-level policy and is taken from the request. For kind=custom: provide the snapshot fields directly. first_name, last_name, street1, city, and country_code are required; the rest are optional.
- kindType: string · contact.ContactKindenumrequired
Contact shape: "member" or "custom".
values- member =
Kind Member - custom =
Kind Custom
- userType: string
_id Identifier of the user backing a member contact. Required for member, ignored for custom.
- locationType: string
_id Identifier of the organization location backing a member contact. Required for member, ignored for custom.
- phoneType: string
_id Identifier of the personal phone backing a member contact. Optional; when absent the contact's
phonesnapshot is composed from the linked location's office phone. Ignored for custom contacts. - firstType: string
_name max length:128Registrant first name. Required for custom; ignored for member (replaced by the upstream user's first name).
- lastType: string
_name max length:128Registrant last name. Required for custom; ignored for member.
- orgType: string
_name max length:256Registrant organization name. Optional on custom; ignored on member (replaced by the org's legal name).
- emailType: stringmax length:320
Registrant email address. Optional on custom; ignored on member (replaced by the upstream user's email).
- phoneType: stringmax length:32
Registrant phone in E.164 form (leading "+" required). Optional on custom; ignored on member (composed from phone or location).
- faxType: stringmax length:32
Registrant fax in E.164 form. Optional on custom; ignored on member.
- street1Type: stringmax length:256
First line of the street address. Required for custom; ignored on member.
- street2Type: stringmax length:256
Second line of the street address. Optional.
- cityType: stringmax length:128
City or locality. Required for custom; ignored on member.
- regionType: stringmax length:128
Region, state, or province. Optional on custom; ignored on member.
- postalType: string
_code max length:32Postal or ZIP code. Optional on custom; ignored on member.
- countryType: string
_code ISO 3166-1 alpha-2 country code. Required for custom; ignored on member. Uppercased after trim.
- discloseType: boolean
Per-contact registry-disclosure flag. Optional on both kinds; omit to accept the default of true. Not derived from upstream — operator policy applies on both shapes.