API
Domain Records
Retrieve domain record

Retrieve a Domain Record

  • Name
    get
    Type
    /v1/domains/:name/records/:id
    Description

    Send a GET request to retrieve a domain record.

Request

Example

curl -X GET "https://api.simplystack.com/v1/domains/example.com/records/1" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
 

Response

JSON object with key named record with the following attributes about the domain record:

Attributes

See domain record model.

Example

json
{
  "record": {
    "id": 4,
    "name": "www",
    "data": "192.168.1.1",
    "port": null,
    "priority": null,
    "ttl": 1800,
    "type": "A",
    "weight": null
  }
}