Skip to Content
Pouch
Addresses

Add a forward target

POST
/v1/addresses/{id}/forward_targets

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

Mails a confirmation link to the mailbox from the system from address. Nothing forwards until the mailbox confirms. A forward comes from the address, with Reply-To set to the original sender. Spam, DMARC failures and viruses never forward.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Request Body

application/json
  1. body
email*string

The mailbox to forward to. It gets a confirmation link, and nothing forwards until it's opened.

Length3 <= length <= 320

Response Body

The pending 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 POST 'https://pouch.example.com/v1/addresses/string/forward_targets' \  -H 'Content-Type: application/json' \  -d '{  "email": "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"}