Create an inbound address
POST
/v1/email/inbound-addressesbird email inbound-addresses create --label 'Support mailbox'curl -X POST "https://us1.platform.bird.com/v1/email/inbound-addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"label": "Support mailbox"
}'响应201
{
"id": "ina_01krdgeqcxet5s7t44vh8rt9mg",
"address": "mfzxq2lom5uxi3lb@eu1.inbound.bird.com",
"label": "Support mailbox"
}
Creates a new inbound address. Forward a real mailbox to the returned address, and every message sent there arrives as a received email.
The address works as soon as it is returned and requires no verification step.
An optional label records which source mailbox the address maps to.
请求载荷
labelstring
Your own label for this address, typically the source mailbox it maps to.
响应载荷
idstring
必填
Inbound address ID.
addressstring
必填
The address to forward your mailbox to. We generate it when the inbound address is created.
labelnullable string
必填
Your own label for this address, typically the source mailbox it maps to. null when unset.
created_atstring
必填
When the inbound address was created.
updated_atstring
必填
When the inbound address was last updated.