POST Generate new address
POST /v3/relay/addresses
Create a new Private Email object. This API does not require any body data.
Request Headers
Accept: application/json
Authorization: Bearer {{api_key}}
Return
Return a Private Email object if the request is successful
Example
Request
- Curl
curl --location --request POST '{{host}}/v3/relay/addresses' \
--header 'Authorization: Bearer {{api_key}}' \
--data-raw ''
Response
- 200 - OK
{
"id": 6,
"address": "16pv4a",
"enabled": true,
"block_spam": false,
"description": "",
"created_time": 1663832455,
"updated_time": null,
"num_forwarded": 0,
"num_blocked": 0,
"num_replied": 0,
"num_spam": 0,
"domain": "maily.org",
"subdomain": null,
"full_address": "[email protected]"
}