Get record by type

  • GET
  • /workspaces
  • /:workspace
  • /domains
  • /:domain_id
  • /records
  • /:record_name
  • /:type

Get one record by type.

Request

REQUIRED SCOPES
WORKSPACE, ZONE_READ
URL PARAMETERS
workspacerequired string
The workspace name.
domain_idrequired string
The ID of the domain.
record_namerequired string
The full record name with domain
typerequired string
The record type. Available values: SOA, NS, A, AAAA, CNAME, CAA, SPF, MX, TXT, SRV, NAPTR

Last modified on Oct 13, 2025

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/domains/:domain_id/records/:record_name/:type" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE
{ "url": "https://api.buddy.works/workspaces/buddy/domains/00pvXRgw/records/subdomain.my-domain.com/TXT", "html_url": "https://app.buddy.works/buddy/-/domain/00pvXRgw", "name": "subdomain", "type": "TXT", "values": [ "site-verification=12345" ], "ttl": 3600, "routing": "Simple" }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999