# Get all email settings

You can return information about all custom domain settings.

GET /custom-email-settings/

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/custom-email-settings/"

# Response

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "name": "example",
            "domain": "example.com",
            "SPF_active": true,
            "CNAME_active": 2
        },
        {
            "id": 2,
            "name": "marketing-example",
            "domain": "marketing-example.com",
            "SPF_active": true,
            "CNAME_active": 1
        }
    ]
}