Public WebsiteGet Robots.txt

Get Robots.txt

Serve the tenant's robots.txt. Disallows all crawling when the tenant has no published posts; otherwise allows crawling but disallows /api/. Cached server-side for 1 hour.

curl -X GET "https://app.nashra.ai/api/v1/tenants/example_string/robots.txt" \
  -H "Content-Type: application/json"
{}
GET
/tenants/{slug}/robots.txt
GET
Base URLstring

Target server for requests. Edit to use your own host.

path
slugstring
Required

Tenant's subdomain slug, or its verified custom domain

Request Preview
Response

Response will appear here after sending the request

Path Parameters

slugstring
Required

Tenant's subdomain slug, or its verified custom domain

Responses

robots.txt content