Skip to content

API reference

Save domain registrant

domains.SaveDomainRegistrantWriteAPI key

Save the company and contact details used to register domains for the workspace.

POST/v1/operations/domains.SaveDomainRegistrant
On this page

Access & visibility

Allow domains.SaveDomainRegistrant on your API key.

Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.

Set up authentication · Choose permissions

Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.

organizationstringRequired

The registered company name, exactly as the register spells it.

At most 255 characters.

org_numberstringRequired

Organisation number from the company register, stored as text to preserve leading zeros.

At most 32 characters.

namestringRequired

The contact person.

At most 255 characters.

address_linestringRequired

Street address of the domain registrant.

At most 255 characters.

postal_codestringRequired

Postal code as text, preserving leading zeros.

At most 16 characters.

citystringRequired

Postal town or city.

At most 255 characters.

countrystringRequired

ISO 3166-1 alpha-2.

At most 2 characters.

emailstringRequired

Email address.

At most 255 characters.

phonestringRequired

With country code (+47 …).

At most 32 characters.

Response

Returns 200 OK with a JSON body.

registrantobject (2 variants)Required

Company and contact details used for domain registration.

SaveDomainRegistrantRegistrant

Variant 1

org_idstringRequired

Org identifier.

organizationstringRequired

Legal organization registering the domain.

org_numberstringRequired

Organisation number from the company register, stored as text to preserve leading zeros.

namestringRequired

Display name.

address_linestringRequired

Street address of the domain registrant.

postal_codestringRequired

Postal code as text, preserving leading zeros.

citystringRequired

Postal town or city.

countrystringRequired

Country associated with the address or record.

emailstringRequired

Email address.

phonestringRequired

Phone number including its country calling code.

Variant 2

org_idstringRequired

Org identifier.

organizationstringRequired

Legal organization registering the domain.

org_numberstringRequired

Organisation number from the company register, stored as text to preserve leading zeros.

namestringRequired

Display name.

address_linestringRequired

Street address of the domain registrant.

postal_codestringRequired

Postal code as text, preserving leading zeros.

citystringRequired

Postal town or city.

countrystringRequired

Country associated with the address or record.

emailstringRequired

Email address.

phonestringRequired

Phone number including its country calling code.

savedbooleanRequired

Whether the registrant details were saved.

registrar_errorstringOptional

Present when the record saved but the registrar mirror failed; the purchase re-mirrors.

Errors & retries

Set BRIGG_REQUEST_ID once for each logical action. The samples send it as Idempotency-Key. Reuse the same value and body on retries, including after a timeout; a missing response does not prove the action failed.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types. Supply a stable Idempotency-Key containing 1–200 characters.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying. Reuse the original Idempotency-Key.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {
    "organization": {
      "type": "string",
      "maxLength": 255,
      "description": "The registered company name, exactly as the register spells it."
    },
    "org_number": {
      "type": "string",
      "maxLength": 32,
      "description": "Organisation number from the company register, stored as text to preserve leading zeros."
    },
    "name": {
      "type": "string",
      "maxLength": 255,
      "description": "The contact person."
    },
    "address_line": {
      "type": "string",
      "maxLength": 255,
      "description": "Street address of the domain registrant."
    },
    "postal_code": {
      "type": "string",
      "maxLength": 16,
      "description": "Postal code as text, preserving leading zeros."
    },
    "city": {
      "type": "string",
      "maxLength": 255,
      "description": "Postal town or city."
    },
    "country": {
      "type": "string",
      "maxLength": 2,
      "description": "ISO 3166-1 alpha-2."
    },
    "email": {
      "type": "string",
      "maxLength": 255,
      "description": "Email address."
    },
    "phone": {
      "type": "string",
      "maxLength": 32,
      "description": "With country code (+47 …)."
    }
  },
  "required": [
    "organization",
    "org_number",
    "name",
    "address_line",
    "postal_code",
    "city",
    "country",
    "email",
    "phone"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "organization": "Northstar Consulting AS",
      "org_number": "999999999",
      "name": "Alex Morgan",
      "address_line": "Example street 10",
      "postal_code": "0150",
      "city": "Oslo",
      "country": "NO",
      "email": "alex@example.com",
      "phone": "+4799999999"
    }
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "registrant": {
      "description": "Company and contact details used for domain registration.",
      "title": "SaveDomainRegistrantRegistrant",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "org_id": {
              "type": "string",
              "description": "Org identifier."
            },
            "organization": {
              "type": "string",
              "description": "Legal organization registering the domain."
            },
            "org_number": {
              "type": "string",
              "description": "Organisation number from the company register, stored as text to preserve leading zeros."
            },
            "name": {
              "type": "string",
              "description": "Display name."
            },
            "address_line": {
              "type": "string",
              "description": "Street address of the domain registrant."
            },
            "postal_code": {
              "type": "string",
              "description": "Postal code as text, preserving leading zeros."
            },
            "city": {
              "type": "string",
              "description": "Postal town or city."
            },
            "country": {
              "type": "string",
              "description": "Country associated with the address or record."
            },
            "email": {
              "type": "string",
              "description": "Email address."
            },
            "phone": {
              "type": "string",
              "description": "Phone number including its country calling code."
            }
          },
          "required": [
            "org_id",
            "organization",
            "org_number",
            "name",
            "address_line",
            "postal_code",
            "city",
            "country",
            "email",
            "phone"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "org_id": {
              "type": "string",
              "description": "Org identifier."
            },
            "organization": {
              "type": "string",
              "description": "Legal organization registering the domain."
            },
            "org_number": {
              "type": "string",
              "description": "Organisation number from the company register, stored as text to preserve leading zeros."
            },
            "name": {
              "type": "string",
              "description": "Display name."
            },
            "address_line": {
              "type": "string",
              "description": "Street address of the domain registrant."
            },
            "postal_code": {
              "type": "string",
              "description": "Postal code as text, preserving leading zeros."
            },
            "city": {
              "type": "string",
              "description": "Postal town or city."
            },
            "country": {
              "type": "string",
              "description": "Country associated with the address or record."
            },
            "email": {
              "type": "string",
              "description": "Email address."
            },
            "phone": {
              "type": "string",
              "description": "Phone number including its country calling code."
            }
          },
          "required": [
            "org_id",
            "organization",
            "org_number",
            "name",
            "address_line",
            "postal_code",
            "city",
            "country",
            "email",
            "phone"
          ],
          "additionalProperties": false
        }
      ]
    },
    "saved": {
      "type": "boolean",
      "description": "Whether the registrant details were saved."
    },
    "registrar_error": {
      "type": "string",
      "description": "Present when the record saved but the registrar mirror failed; the purchase re-mirrors."
    }
  },
  "required": [
    "registrant",
    "saved"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "registrant": {
        "org_id": "o_example",
        "organization": "Northstar Consulting AS",
        "org_number": "999999999",
        "name": "Alex Morgan",
        "address_line": "Example street 10",
        "postal_code": "0150",
        "city": "Oslo",
        "country": "NO",
        "email": "alex@example.com",
        "phone": "+4799999999"
      },
      "saved": true
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.