Skip to Content
Pouch
Admin organizations

List every organization

GET
/v1/admin/organizations

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many organizations to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last organization on the previous page.

include?string

Comma-separated expansions to add: counts (provider assignments and domains, counted, returned by default).

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, slug, provider_id, managed_provider_id, assignment_count, domain_count, suspension, address_limit, address_daily_message_limit, address_limit_override, address_daily_message_limit_override, created_at, updated_at.

Response Body

A page of organizations, newest first.

application/json
  1. response
data?array<>

The page of organizations, 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/admin/organizations'
Example Response
{  "data": [    {      "id": "string",      "name": "string",      "slug": "string",      "provider_id": "string",      "managed_provider_id": "string",      "assignment_count": 0,      "domain_count": 0,      "suspension": {},      "address_limit": 0,      "address_daily_message_limit": 0,      "address_limit_override": 0,      "address_daily_message_limit_override": 0,      "created_at": "string",      "updated_at": "string"    }  ],  "next_cursor": "string"}