GET Check use subdomain or not
GET /v3/relay/subdomains/use_subdomain
Check you use subdomain to generate new Private Email or not?
Request Headers
Accept: application/json
Authorization: Bearer {{api_key}}
Return
use_relay_subdomain (bool) Use subdomain or not
Example
Request
- Curl
curl --location --request GET '{{host}}/v3/relay/subdomains/use_subdomain' \
--header 'Authorization: Bearer {{api_key}}' \
--data-raw ''
Response
- 200 - OK
{
"use_relay_subdomain": false
}