chatformdocs
API referenceV1

The organization's custom domain

The hostname that serves this organization's forms, with the CNAME and TXT records to add at the registrar. Reads the stored state and never writes; call `POST /v1/domains/check` to ask Cloudflare again. A domain that is `active` must also be registered in the merchant's Razorpay or Cashfree dashboard before payments on it work; Stripe needs nothing. Steps: https://chatform.in/docs/payments#register-your-domain-with-the-gateway

GET
/v1/domains

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/domains"
{  "domain": {    "hostname": "string",    "status": "pending",    "error": "string",    "hint": "string",    "records": [      {        "type": "CNAME",        "name": "string",        "value": "string"      }    ],    "checkedAt": 0,    "createdAt": 0,    "dnsProvider": {      "id": "string",      "name": "string",      "dnsUrl": "string"    },    "autoConfigureUrl": "string",    "autoConfigureSize": {      "width": 0,      "height": 0    }  },  "target": "string",  "configured": true}