---
title: "Save a registrant contact"
method: POST
path: "/v1/domains/contacts"
tags: ["Domains"]
---

# Save a registrant contact

`POST /v1/domains/contacts`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/domains/contacts`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `domains:write`)

Saves the person or organization a domain is registered to. Ask the user for these details; never invent them. Pass its id as `contactId` to purchaseDomain. One contact per team is usually enough; reuse it from listDomainContacts.

## Request body

- object
  - `firstName` string, required
  - `lastName` string, required
  - `organization` string
  - `address1` string, required
  - `address2` string
  - `city` string, required
  - `state` string, required
  - `postalCode` string, required
  - `countryCode` string, required
  - `email` string, email, required
  - `phone` string, required
  - `teamId` string: Owning team. Defaults to the active team.

## Response `201`

Response for status 201

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `firstName` string, required
    - `lastName` string, required
    - `organization` string
    - `address1` string, required
    - `address2` string
    - `city` string, required
    - `state` string, required
    - `postalCode` string, required
    - `countryCode` string, required
    - `email` string, email, required
    - `phone` string, required
    - `id` string, required: Contact id (`dcon_...`).
    - `teamId` string, required: Team that owns the contact.
    - `updatedAt` string, date-time, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
