Skip to Content
Pouch
Addresses

Read a forward target

GET
/v1/addresses/{id}/forward_targets/{targetId}

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.

targetId*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 target.

application/json
  1. response
id?string

Opaque id, prefixed fwt_.

address_id?string

The address it forwards from.

email?string

The mailbox it forwards to.

status?string

Only confirmed targets receive forwards.

Value in"pending""confirmed""disabled"
confirmation_sent_at?|

ISO 8601 timestamp the last confirmation link went out.

confirmation_expires_at?|

When the live confirmation link stops working. Null unless pending.

confirmed_at?|

ISO 8601 timestamp, or null.

disabled_at?|

ISO 8601 timestamp, or null.

disabled_reason?|

Why forwarding stopped: a forward hard-bounced, the mailbox marked one as spam or it used the stop link.

Value in"bounced""complained""stopped"null
forwarded_count?integer

Forwards sent to it.

last_forwarded_at?|

ISO 8601 timestamp, or null.

last_failure?|

The last forward the send path refused, such as recipient_suppressed, with its error code and message.

created_at?string

ISO 8601 timestamp.

updated_at?string

ISO 8601 timestamp.

Example Request
curl -X GET 'https://pouch.example.com/v1/addresses/string/forward_targets/string'
Example Response
{  "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"}