lumail.domains.list

SDK 2.1.0 · API v2 · GET /api/v2/domains

MethodGET
/api/v2/domains

[email protected] · lumail.domains

domains.list(): Promise<LumailResult<ListDomainsResponse>>

Permission: domains. The SDK takes no arguments and does not forward ?limit=. The HTTP route may still accept limit if you call it with fetch.

Parameters

No parameters.

Response Fields

FieldTypeDescription
object"list"Discriminator. Always list.
has_morebooleantrue when the HTTP limit slice hid more rows. The SDK never sends limit, so this is usually false.
dataDomainRecord[]Sending domains. Each row: id, domain, status, optional region, createdAt, sesRecords, dnsRecords, message.

data is { object, data, has_more }. Failures return { data: null, error: { name, message, statusCode } }.