All endpoints

List domains

GEThttps://myagentmail.com/v1/domains

Query parameters

workspace
string

Responses

200application/jsonOK
domains
object[]
id
string

format: uuid

domain
string
status
"pending" | "verified" | "failed"

enum: "pending" | "verified" | "failed"

workspaceId
string

format: uuid

dnsRecords
object[]
type
"TXT" | "CNAME" | "MX" | "A"

enum: "TXT" | "CNAME" | "MX" | "A"

name
string
value
string
priority
integer
status
"pending" | "verified"

enum: "pending" | "verified"

createdAt
string

format: date-time

updatedAt
string

format: date-time

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.