curl https://api.gork.email/v1/domains \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const domains = await gork.domains.list()
import requests, os
res = requests.get(
"https://api.gork.email/v1/domains",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
)
{
"data": [
{
"id": "dom_1a2b3c4d5e6f",
"domainName": "mail.acmecorp.com",
"status": "verified",
"mxStatus": true,
"spfStatus": true,
"dkimStatus": true,
"dmarcStatus": true,
"verifiedAt": "2026-09-07T12:30:00.000Z",
"createdAt": "2026-09-07T12:00:00.000Z"
}
]
}
Domains
List Domains
List every custom domain registered for your organization with verification state.
GET
/
v1
/
domains
curl https://api.gork.email/v1/domains \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const domains = await gork.domains.list()
import requests, os
res = requests.get(
"https://api.gork.email/v1/domains",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
)
{
"data": [
{
"id": "dom_1a2b3c4d5e6f",
"domainName": "mail.acmecorp.com",
"status": "verified",
"mxStatus": true,
"spfStatus": true,
"dkimStatus": true,
"dmarcStatus": true,
"verifiedAt": "2026-09-07T12:30:00.000Z",
"createdAt": "2026-09-07T12:00:00.000Z"
}
]
}
Returns all custom domains for your organization, newest first — including each DNS check tracked during verification.
Headers
string
required
Bearer token formatted as
Bearer gork_live_.... Requires the domains:read scope.Response
object[]
Show properties
Show properties
string
Unique domain ID (
dom_...).string
The registered domain (e.g.
mail.acmecorp.com).string
Overall state:
pending, verified, or failed.boolean
Whether the inbound MX record check passes.
boolean
Whether the SPF record check passes.
boolean
Whether the SES Easy-DKIM record checks pass.
boolean
Whether the DMARC record check passes.
string
ISO 8601 timestamp of verification, or
null while pending.string
ISO 8601 creation timestamp.
curl https://api.gork.email/v1/domains \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const domains = await gork.domains.list()
import requests, os
res = requests.get(
"https://api.gork.email/v1/domains",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
)
{
"data": [
{
"id": "dom_1a2b3c4d5e6f",
"domainName": "mail.acmecorp.com",
"status": "verified",
"mxStatus": true,
"spfStatus": true,
"dkimStatus": true,
"dmarcStatus": true,
"verifiedAt": "2026-09-07T12:30:00.000Z",
"createdAt": "2026-09-07T12:00:00.000Z"
}
]
}
Run
POST /v1/domains/{id}/verify to re-check DNS after adding the records from domain registration.