Skip to Content
Pouch
Addresses

List forward targets

GET
/v1/addresses/{id}/forward_targets

Auth: Bearer live key scoped to the address's domain.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, address_id, email, status, confirmation_sent_at, confirmation_expires_at, confirmed_at, disabled_at, disabled_reason, forwarded_count, last_forwarded_at, last_failure, created_at, updated_at.

Response Body

The address's targets, with why any was disabled.

application/json
  1. response
data?array<>

Every target on the address, oldest first.

next_cursor?null

Always null: an address holds at most 5 targets.

Example Request
curl -X GET 'https://pouch.example.com/v1/addresses/string/forward_targets'
Example Response
{  "data": [    {      "id": "string",      "address_id": "string",      "email": "string",      "status": "pending",      "confirmation_sent_at": "string",      "confirmation_expires_at": "string",      "confirmed_at": "string",      "disabled_at": "string",      "disabled_reason": "bounced",      "forwarded_count": 0,      "last_forwarded_at": "string",      "last_failure": {        "code": "string",        "message": "string",        "at": "string"      },      "created_at": "string",      "updated_at": "string"    }  ],  "next_cursor": null}