> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/mail/catchalls/create-catch-all.md).

# Create catch-all

Create a catch-all that routes all messages sent to unknown addresses of the domain to the given mailbox.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/mail/v1/mailboxes/{mailboxId}/catchalls" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
