Get contact informations
This endpoint allows you to get contact's informations.
Some fields can be missing. For example, the company name can be missing in the case of a ‘natural person’ contact.
Endpoint
GET /registrar/v1/contacts/{handle}
Parameters
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
| handle | URL | Yes | String | Nameshield’s internal contact handle. This string has the following syntax : NSINT-number Examples: NSINT-123456, NSINT-36589 |
Response
Returns a Contact with informations
If contact is being modified, ID of the modification is provided ("modifId") and "modifInProgess" is true.
Example Request
GET /registrar/v1/contacts/NSINT-1234
Content-Type: application/json
Example Response
{
"message": "Ok",
"data": [
{
"lastName": "Doe",
"firstName": "John",
"organization": "Compagny corp",
"address": "12 rue du champ",
"postalCode": "49000",
"city": "Angers",
"state": " Maine et Loire",
"country": "France",
"phone": "+33 123456789",
"fax": "+33 987456321",
"email": "j.doe@company.com",
"customerId": 0,
"juridic": "p",
"type": "owner",
"handle": "NSINT-1234",
"modifId": 1325454,
"modifInProgress": true
}
]
}