Get your free beta license ↗
API operation · mail group
GET

/domains/{name}/mail/forwarders

First published 3 Oct 20260.1.0Unchanged since publication

List the domain's forwarders

Who may call it
AdministratorResellerCustomer
Token scope, any of
mailreadall
Answers200 OK

The 200 response contains the list in forwarders. Administrators, the domain's owner and the owner's reseller can call this operation with a token that has the mail scope.

As a command

Run as root on the server

Parameters

namepath ·DomainNameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/domains/example.com/mail/forwarders" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "forwarders": [
    {
      "address": "info@example.com",
      "created_at": "2026-09-09T10:15:00Z",
      "destinations": [
        "text"
      ],
      "domain": "example.com",
      "id": 1,
      "local_part": "text"
    }
  ]
}

Errors

6 errors, each a status and a sentence
400Domain name required
400Domain name too long
400Invalid domain name
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-domains-name-mail-forwarders/