curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/mailbox-domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-finops-version: <x-finops-version>' \
--data '
{
"domain": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_records": {
"receiving_dns_records": [
{
"is_active": true,
"record_type": "TXT",
"valid": "<string>",
"value": "<string>",
"name": "<string>",
"record_purpose": "DKIM"
}
],
"sending_dns_records": [
{
"is_active": true,
"record_type": "TXT",
"valid": "<string>",
"value": "<string>",
"name": "<string>",
"record_purpose": "DKIM"
}
]
},
"domain": "<string>",
"status": "<string>",
"dedicated_ip": "<string>",
"last_updated_at": "2023-11-07T05:31:56Z"
}Create domain for the partner_id
curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/mailbox-domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-finops-version: <x-finops-version>' \
--data '
{
"domain": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_records": {
"receiving_dns_records": [
{
"is_active": true,
"record_type": "TXT",
"valid": "<string>",
"value": "<string>",
"name": "<string>",
"record_purpose": "DKIM"
}
],
"sending_dns_records": [
{
"is_active": true,
"record_type": "TXT",
"valid": "<string>",
"value": "<string>",
"name": "<string>",
"record_purpose": "DKIM"
}
]
},
"domain": "<string>",
"status": "<string>",
"dedicated_ip": "<string>",
"last_updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The domain name, such as mail.mycompany.com. Can contain only alphanumeric characters (A..Z a..z 0..9), dots (.), and hyphens (-). Each segment of the domain name must start and end with either a letter or a digit.
Successful Response
Entry UUID
Show child attributes
The domain name.
A dedicated IP address assigned to this mailbox and used to send outgoing email.
The time the domain was updated for the last time
Was this page helpful?