Logo
Openapi.it Public API Documentation

{{baseUrl}}/contact

POST {{baseUrl}}/contact

This method allows you to register a new contact in the system, which you will then need to associate with the new domains to be purchased. If you want to create a 'registrant' contact, 'nationalitycode', 'entitytype' and 'regcode' are mandatory.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "data": { "handle": "AV-982654609" }, "message": "Greeting OK. Login OK. Create contact 'AV-982654609' created. Logout OK.", "success": true, "error": null }



Curl
curl -X POST 'baseUrl/contact' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"\u003cstring\u003e","org":"\u003cstring\u003e","street":"\u003cstring\u003e","city":"\u003cstring\u003e","province":"\u003cstring\u003e","postalcode":"\u003cstring\u003e","countrycode":"\u003cstring\u003e","voice":"\u003cstring\u003e","email":"\u003cstring\u003e","nationalitycode":"\u003cstring\u003e","entitytype":"\u003cinteger\u003e","regcode":"\u003cstring\u003e"}'

ENDPOINTS