uids is the full list of mailboxes: any you leave out stop forwarding. The rule shows status pending until the change is live.curl --location 'https://api.inboxkit.com/v1/api/mailboxes/forwarding/rules//update' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"forwarding_email": "[email protected]",
"match": "all",
"conditions": [
{
"location": "subject",
"header_name": "X-Autoreply",
"match": "regex",
"value": "out of office"
}
],
"uids": [
"string"
]
}'{
"error": false,
"message": "Forwarding rule updated; changes are applied in the background",
"rule": {
"uid": "9b2f7c1e-0d4a-4b8e-9a51-3f0c6d2e8a17",
"platform": "GOOGLE",
"scope": "google",
"match": "all",
"conditions": [
{
"location": "subject",
"header_name": "X-Autoreply",
"match": "regex",
"value": "out of office"
}
],
"forwarding_email": "[email protected]",
"mailboxes": [
{
"uid": "mb-123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]"
}
],
"status": "pending",
"last_error": "string",
"applied_at": "2019-08-24T14:15:22.123Z",
"created_at": "2026-11-05T10:30:00.000Z",
"updated_at": "2026-11-05T10:30:00.000Z"
},
"mailboxes": [
{
"uid": "mb-123e4567-e89b-12d3-a456-426614174000",
"mode": "off",
"rule": "string",
"status": "pending",
"replaces": {
"mode": "simple",
"forwarding_email": "[email protected]",
"rule": "string"
}
}
]
}