domain_id AND group_pay_id can't both empty
Request
Body Params multipart/form-data
Request Code Samples
curl --location --request POST 'https://domain-open-api.getmx.com/v1/alias/create' \
--form 'token="token"' \
--form 'domain_id="12345678"' \
--form 'group_pay_id="12345678"' \
--form 'source="{all}@mail.com"' \
--form 'destination="[email protected]"' \
--form 'mark="mark"'
Responses
application/json {
"code": 0,
"msg": "string",
"data": null
}
Modified at 2025-04-27 12:46:37