Create contact

Request Information
URL POST {{basepath}}/contact
CategoryREPP-Contact

Description

Creates a new contact

Expects a ContactCreateRequest object.

Returns a ContactCreateResponse object.

JSON
{
    "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"
}

Example responses

Create contact success
Request Method & URL
POST {{basepath}}/contact
Request Body:
{
    "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"
}
Query parameters
statusnewThe status to look for : available,unavailable,new,delete
start0Where to start from
limit10How many to retrieve min 1 max 50
domainnameasdfghjkl.ioThe domainname to look for
Response Code:
200 OK
Response Body:
{
    "responseId": "mapi1_b38e5c3f4888aaa61047dfebdf6da06f0fd20d66",
    "status": "ok",
    "message": "Command completed successfully",
    "contact": {
        "id": "MET_1k7060d6488298550d79",
        "crDate": "2023-06-13T08:32:05+00:00"
    }
}