Support

Get required legal agreements for a TLD

View as Markdown

Returns the TLD-specific legal agreements that must be accepted before purchase or transfer.

Full description

Returns the TLD-specific legal agreements that must be accepted before purchase or transfer. The agreementKeys from this response are required in the consent object.

GET
/v1/domains/agreements

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT). Generate one from the developer dashboard. Pass as: Authorization: Bearer .

In: header

Query Parameters

tlds*array<string>

list of TLDs whose legal agreements are to be retrieved

v1-privacy*boolean

Whether or not privacy has been requested

forTransfer?boolean

Whether or not domain tranfer has been requested

Header Parameters

X-Market-Id?string

Unique identifier of the Market used to retrieve/translate Legal Agreements

Formatbcp-47
Default"en-US"

Response Body

curl -X GET "https://example.com/v1/domains/agreements?tlds=string&v1-privacy=true"
[  {    "agreementKey": "string",    "content": "string",    "title": "string",    "url": "string"  }]

Agent & Automation Notes

Scopesdomains.domain:read, domains.domain:create, domains.domain:delete, domains.domain:update, domains.contact:update, domains.dns:update, domains.transfer:execute
Rate limit60 req/min per credential
On failureGET operations are safe to retry. PUT/PATCH DNS are idempotent by shape. POST purchase is NOT idempotent — verify state before retrying.

Last updated on

How is this guide?