curl --location --request POST 'https://api.inboxkit.com/v1/api/mailboxes/forwarding/setup' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"uids": [
"string"
],
"forwarding_email": "[email protected]"
}'{
"error": false,
"message": "Forwarding setup jobs created for 2 mailbox(es)",
"jobs": [
{
"uid": "fwd-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"mailbox_uid": "mb-123e4567-e89b-12d3-a456-426614174000",
"forwarding_email": "[email protected]",
"action": "enable",
"status": "pending",
"created_at": "2025-01-15T10:30:00.000Z"
}
]
}