Skip to navigation

Update Forwarding

Set the addresses this pod forwards to. The list replaces the pod’s current one and the organization’s list for this pod; lists are never combined. Send an empty list to stop forwarding in this pod even when the organization forwards. An address that is not verified is saved but receives nothing until it is verified.

CLI:

agentmail pods forwarding update --pod-id <pod_id> --destinations ops@example.com

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

pod_idstringRequired
ID of pod.

Request

This endpoint expects an object.
destinationslist of stringsRequired
The full list of addresses this level forwards to. It replaces the level's current list. At most 5, with no repeats. Send an empty list to turn forwarding off at this level, even when a level above forwards.

Response

This endpoint returns an object.
destinationslist of strings

The list now set on this level. It does not say which addresses are verified; Get Forwarding does.

Errors

400
Validation Error
403
Forwarding Forbidden Error
404
Not Found Error