跳转到主要内容
POST
/
v1
/
public
/
accounts
/
{account_id}
/
mailboxes
/
{mailbox}
/
aliases
创建邮箱别名
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "alias": "<string>",
  "is_catch_all": false
}
'
{
  "alias": "<string>",
  "is_catch_all": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

路径参数

account_id
string<uuid>
必填
mailbox
string
必填

请求体

application/json

创建邮箱别名的请求正文。

alias
string
必填
is_catch_all
boolean
默认值:false

响应

alias
string
必填

邮箱别名电子邮件地址

is_catch_all
boolean
默认值:false

该别名是否捕获所有不匹配的本地部分