URL | POST {{basepath}}/contact |
---|---|
Category | REPP-Contact |
Creates a new contact
Expects a ContactCreateRequest object.
Returns a ContactCreateResponse object.
{
"postalInfo": {
"type": "loc",
"name": "Test User",
"org": "Metaregistrar",
"addr": {
"street": [
"Noothoven van Goorstraat 11E"
],
"city": "Gouda",
"sp": "Zuid holland",
"pc": "2806RA",
"cc": "NL"
}
},
"voice": "+31.12345678",
"email": "john@metaregistrar.com",
"crmId": "potato"
}
POST {{basepath}}/contact
{
"postalInfo": {
"type": "loc",
"name": "Test User",
"org": "Metaregistrar",
"addr": {
"street": [
"Noothoven van Goorstraat 11E"
],
"city": "Gouda",
"sp": "Zuid holland",
"pc": "2806RA",
"cc": "NL"
}
},
"voice": "+31.12345678",
"email": "john@metaregistrar.com"
}
status | new | The status to look for : available,unavailable,new,delete |
---|---|---|
start | 0 | Where to start from |
limit | 10 | How many to retrieve min 1 max 50 |
domainname | asdfghjkl.io | The domainname to look for |
200 OK
{
"responseId": "mapi1_b38e5c3f4888aaa61047dfebdf6da06f0fd20d66",
"status": "ok",
"message": "Command completed successfully",
"contact": {
"id": "MET_1k7060d6488298550d79",
"crDate": "2023-06-13T08:32:05+00:00"
}
}