Skip to main content

Create a contact

This endpoint allows you to create a contact

Endpoint

POST /registrar/v1/contacts

Parameters

NameLocationRequiredTypeDefault valueDescription
ContactBodyYesContactThe contact record

Response

Create Contact. Return the handle, unique identifier of the contact

Example Request

POST /registrar/v1/contacts
Content-Type: application/json
Body
{
"extension": "fr",
"type": "owner",
"juridic": "p",
"lastName": "Doe",
"firstName": "John",
"organization": "Compagny corp",
"address": "12 rue du champ",
"postalCode": "49000",
"city": "Angers",
"state": " Maine et Loire",
"country": "FR",
"email": "j.doe@company.com",
"phone": "+33 123456789",
"fax": "+33 987654321",
"addons": {
"key": "value"
}
}

Example Response

{
"message": "Contact has been created.",
"data": [
{
"handle": "NSINT-1234"
}
]
}