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"
}'Odpowiedź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.
Treść żądania
labelstring
Your own label for this address, typically the source mailbox it maps to.
Treść odpowiedzi
idstring
wymagane
Inbound address ID.
addressstring
wymagane
The address to forward your mailbox to. We generate it when the inbound address is created.
labelnullable string
wymagane
Your own label for this address, typically the source mailbox it maps to. null when unset.
created_atstring
wymagane
When the inbound address was created.
updated_atstring
wymagane
When the inbound address was last updated.
Powiązane zasoby
Przejdź do dokumentacji, przewodników i przykładów dotyczących tego tematu.