CreateContactRequest

Body for creating a new contact. The kind field selects the shape; member contacts derive their snapshot payload from upstream rows while external 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=external: provide the snapshot fields directly. first_name, last_name, street1, city, and country_code are required; the rest are optional.

  • Contact shape: "member" or "external".

    values
    member = KindMemberexternal = KindExternal
  • Registrant fax in E.164 form. Optional on external; ignored on member.

  • First line of the street address. Required for external; ignored on member.

  • Second line of the street address. Optional.

  • City or locality. Required for external; ignored on member.

  • Region, state, or province. Optional on external; ignored on member.

  • Postal or ZIP code. Optional on external; ignored on member.

  • ISO 3166-1 alpha-2 country code. Required for external; ignored on member.

  • Per-contact registry-disclosure flag. Optional on both kinds; omit to accept the default of false, which withholds the payload. Not derived from upstream: operator policy applies on both shapes.

  • Identifier of the user backing a member contact. Required for member, ignored for external.

  • Identifier of the organization location backing a member contact. Required for member, ignored for external.

  • Identifier of the personal phone backing a member contact. Optional; when absent the contact's phone snapshot is composed from the linked location's office phone. Ignored for external contacts.

  • Registrant first name. Required for external; ignored for member (replaced by the upstream user's first name).

  • Registrant last name. Required for external; ignored for member.

  • Registrant organization name. Optional on external; ignored on member (replaced by the org's legal name).

  • Registrant email address. Optional on external; ignored on member (replaced by the upstream user's email).

  • Registrant phone in E.164 form (leading "+" required). Optional on external; ignored on member (composed from phone or location).