Skip to Content
Pouch
Domains

List domains

GET
/v1/domains

Auth: Bearer key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many domains to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last domain on the previous page.

status?string

Only domains with this status.

Value in"pending""verified""failed"
include?string

Comma-separated expansions to add: standing (reputation over the last 7 days, computed on read, returned by default).

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, status, dns_records, missing_records, setup, errors, verified_at, last_checked_at, created_at, provider_id, pending, stall, bulk_allowed, layout, standing, standing_reason.

Response Body

A page of the key's domains, newest first.

application/json
  1. response
data?array<>

The page of domains, newest first.

next_cursor?|

Id to pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/domains'
Example Response
{  "data": [    {      "id": "string",      "name": "string",      "status": "pending",      "dns_records": [        {          "type": "TXT",          "name": "string",          "value": "string",          "priority": 0,          "merge": "spf"        }      ],      "missing_records": [        {          "type": "TXT",          "name": "string",          "value": "string",          "priority": 0,          "merge": "spf"        }      ],      "setup": [        {          "step": "domain",          "message": "string"        }      ],      "errors": [        "string"      ],      "verified_at": "string",      "last_checked_at": "string",      "created_at": "string",      "provider_id": "string",      "pending": {        "provider_id": "string",        "dns_records": [          {            "type": "TXT",            "name": "string",            "value": "string",            "priority": 0,            "merge": "spf"          }        ],        "missing_records": [          {            "type": "TXT",            "name": "string",            "value": "string",            "priority": 0,            "merge": "spf"          }        ],        "started_at": "string"      },      "stall": {        "reason": "string",        "message": "string",        "stalled_at": "string"      },      "bulk_allowed": true,      "layout": {        "name": "string",        "logo": "string",        "accent": "string",        "footer": "string"      },      "standing": "healthy",      "standing_reason": "string"    }  ],  "next_cursor": "string"}