Register a domain
answerhatch_create_tenantRegister a domain to obtain a tenant ID and DNS TXT record for verification, then use the record to prove domain control before starting a crawl.
Instructions
Register one domain and return its tenant id plus the DNS TXT record that proves the customer controls it. The crawl does not start here. Give the record to the user verbatim, wait for them to publish it, then call answerhatch_start_crawl. Call this once per site; if a crawl will not start, retry the crawl rather than registering again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | crawl budget in pages, default 120, maximum 2000 | |
| domain | Yes | bare hostname such as example.com, no scheme and no path |