API reference
</>API referenceSet or remove mailbox email forwarding
POST
Organization-owned mailbox reads and explicitly approved, retry-safe writes. Stored or pending states are not live provider success.
Required scope: inboxes:forwarding:write.
bearerAuthheader
AuthorizationBearer <token>Scoped GoodInboxes API token
id*stringOwned resource UUID.
application/json- body
targetEmail*|nullrequestId*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidconsent*booleanPersisted command result; forwarding may remain stored or pending recipient verification.
application/json- response
data*Persisted command result; forwarding may remain stored or pending recipient verification.
requestId?stringcurl -X POST "https://example.com/api/v1/inboxes/string/forwarding" \ -H "Content-Type: application/json" \ -d '{ "targetEmail": "string", "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6", "consent": true }'{ "data": {}, "requestId": "string"}