createContact
createContact: Create a new contact for use with domain registrations. Requires authentication. Returns the created contact including its id for assignment to domains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name. | |
| Yes | Contact's email address. | ||
| phone | Yes | Phone number in '+CC.number' format, e.g. '+1.5551234567'. | |
| state | No | State, province, or region, if applicable. | |
| country | Yes | Country as a 2-letter ISO 3166-1 alpha-2 code, e.g. 'US'. | |
| street1 | Yes | First street address line. | |
| street2 | No | Second street address line, if needed. | |
| lastName | Yes | Contact's last name. | |
| firstName | Yes | Contact's first name. | |
| postalCode | Yes | Postal or ZIP code. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. | |
| organization | No | Organization or company name, if any. |