List Domains

mailgun.list_domains
ActionEmailconnection required

Calls the Mailgun API with the connection's credentials.

List the sending domains on the Mailgun account with their state.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Mailgun
Secret shape
the private API key: {"username": "api", "password": "…"}, or {"api_key": "…"}, or the raw key
Config it needs
domain, region, from_email, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
limit
Maximum records to return in this page. Mailgun caps the value at 1000.
numberNo1001–1000—
skip
How many domains to skip before this page starts.
numberNo0≥ 0—
state
Only return domains in this state.
stringNo—one of "active", "unverified", "disabled"—
search
Return only domains whose name contains this text.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "limit": 100,
  "skip": 0
}

Output

One shape.

result

FieldTypeExample
items
The domain records on this page.
array—
count
How many domains this page returned.
number—
total_count
How many domains the account has in total.
number—
{
  "count": 0,
  "items": [],
  "total_count": 0
}

See List Domains run in a workflow.

In a technical demo we add the Mailgun connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.