Skip to Content
Pouch
Providers

Read a provider

GET
/v1/providers/{id}

Auth: Bearer key with no domain scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

include?string

Comma-separated expansions to add: status (from the provider's health record and its domains, returned by default).

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, adapter, name, assigned, status, backoff_until, created_at, updated_at.

Response Body

The provider.

application/json
  1. response
id?string

Opaque id, prefixed pac_.

adapter?string

Provider adapter: ses, mailpace, cloudflare or mock. Capabilities such as bulk, custom headers and inbound follow it.

name?string

Label for this provider.

assigned?boolean

True for the organization's assigned provider, which a new domain binds to by default.

status?string

Whether the organization can send through this provider. setting_up means its first domain is still being set up at the provider.

Value in"ready""setting_up""paused""unavailable"
backoff_until?|

ISO 8601 timestamp the worker skips this provider until, or null.

created_at?string

ISO 8601 timestamp.

updated_at?string

ISO 8601 timestamp.

Example Request
curl -X GET 'https://pouch.example.com/v1/providers/string'
Example Response
{  "id": "string",  "adapter": "string",  "name": "string",  "assigned": true,  "status": "ready",  "backoff_until": "string",  "created_at": "string",  "updated_at": "string"}