Get Records

List all Records for a Specific Domain

Get Records URL:

POSThttps://api.hyperleaf.com/api/dns/get_records

POST Example

curl https://api.hyperleaf.com/api/dns/get_records?key=mykey \
    -d 'domain=blah.com'

Request Fields (* required)

Name
Type
Description

domain*

string

the domain you're adding

Response Examples

{
    "status": "ok",
    "records": {
        "512086859": {
            "id": "512086859",
            "type": "MX",
            "host": "",
            "record": "sendgrid.net",
            "priority": "10",
            "failover": "0",
            "ttl": "3600",
            "status": 1
        },
        "512084259": {
            "id": "512084259",
            "type": "A",
            "host": "api",
            "record": "3.3.2.1",
            "dynamicurl_status": 0,
            "failover": "0",
            "ttl": "3600",
            "status": 1
        }
    }
}

Last updated