mijn.host API
  1. Contacts
mijn.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
  • Domains
    • Domains
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Get DNS records
      • Update DNS records
      • Update single DNS record
      • Get auth code
      • Cancel domain deletion
    • Contacts
      • List profiles
        GET
      • Create profile
        POST
      • Update profile
        PUT
      • Get profile
        GET
    • Nameservers
      • List profiles
      • Create profile
      • Update profile
      • Get profile
    • DNS templates
      • List templates
      • Create template
      • Update template
      • Get template
    • Availability
      • Check domain availability
    • Order
      • Order domain
  1. Contacts

Create profile

POST
/domains/contacts
Create a new contact profile.

Request

Authorization
Add parameter in header
API-Key
Example:
API-Key: ********************
Header Params

Body Params application/json

Example
{
    "name": "string",
    "profile": {
        "company_name": "string",
        "vat": "string",
        "gender": "M",
        "firstname": "string",
        "lastname": "string",
        "street": "string",
        "street_number": "string",
        "street_suffix": "string",
        "zipcode": "string",
        "city": "string",
        "state": "string",
        "country": "NL",
        "email": "string",
        "phone_country": "+31",
        "phone_area": "6",
        "phone_number": "string",
        "social_security_number": "string",
        "passport_number": "string",
        "company_registration_number": "string",
        "company_url": "string",
        "birth_date": "string",
        "defaults": {
            "owner": true,
            "admin": true,
            "tech": true,
            "billing": true,
            "reseller": true
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mijn.host/api/v2/domains/contacts' \
--header 'Accept;' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "profile": {
        "company_name": "string",
        "vat": "string",
        "gender": "M",
        "firstname": "string",
        "lastname": "string",
        "street": "string",
        "street_number": "string",
        "street_suffix": "string",
        "zipcode": "string",
        "city": "string",
        "state": "string",
        "country": "NL",
        "email": "string",
        "phone_country": "+31",
        "phone_area": "6",
        "phone_number": "string",
        "social_security_number": "string",
        "passport_number": "string",
        "company_registration_number": "string",
        "company_url": "string",
        "birth_date": "string",
        "defaults": {
            "owner": true,
            "admin": true,
            "tech": true,
            "billing": true,
            "reseller": true
        }
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": 200,
    "status_description": "Domain profile added",
    "data": {
        "id": 10000
    }
}
🟠400Invalid input
Modified at 2025-07-21 17:05:52
Previous
List profiles
Next
Update profile
Built with