dns
List existing DNS records
Changed onRetrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.
get/v5/domains/{domain}/records
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v5/domains/{domain}/records
- Auth: HTTP bearer
Path parameters
domainstring required
Example:example.com
Query parameters
limitstring
Maximum number of records to list from a request.
sincestring
Get records created after this JavaScript timestamp.
untilstring
Get records created before this JavaScript timestamp.
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Response
Successful response retrieving a list of paginated DNS records.
Example response
{
"pagination": {
"count": 20,
"next": 1540095775951,
"prev": 1540095775951
}
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info