It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Email Gateway Defense
formerly Email Security

List Domains

  • Last updated on

Retrieves a list of domains under an account for Email Gateway Defense.

Endpoint

GET /beta/accounts/{account_id}/ess/domains

Request header

NameRequiredDescriptionType
access_tokenRequiredThe access token issued by the authorization server.String

Path parameter

NameRequiredDescriptionType
account_idRequiredThe Barracuda Cloud Control account ID.String

Response

EntryDescriptionType
resultsCountThe number of items on the current page.Integer
pageNumThe current page number.Integer
itemsTotalThe total number of items.Integer
pagesTotalThe total number of pages.Integer
results

The list of objects that each represent a domain.

EntryDescriptionType
domainIdThe domain ID.Integer
domainNameThe domain name.String
status

The domain status.

VERIFIED (Domain has been verified)

UNVERIFIED (Domain needs to be verified)

DISABLED (Domain has expired or has not been renewed)

Enumeration
type

The domain type.

ESS (Domain is an Email Gateway Defense type domain)

CPL (Domain is a Cloud Protection Layer type domain)

Enumeration
Array

See Paging for more information on how to navigate through sets of paged results from this API call.

Sample Request

curl -X GET "https://api.barracudanetworks.com/beta/accounts/{account_id}/ess/domains" \
--header "Authorization: Bearer {access_token}"

Sample Response

{
    "resultsCount": 4,
    "pageNum": 0,
    "itemsTotal": 4,
    "pagesTotal": 1,
    "results": [
        {
            "domainId": 4,
            "domainName": "address.com",
            "status": "VERIFIED",
            "type": "ESS",
        },
        {
            "domainId": 491,
            "domainName": "addresstest.com",
            "status": "VERIFIED",
            "type": "ESS",
        },
        {
            "domainId": 2346,
            "domainName": "barracudaemailsecurity.com",
            "status": "VERIFIED",
            "type": "ESS",
        },
        {
            "domainId": 1000,
            "domainName": "spamqa.net",
            "status": "VERIFIED",
            "type": "ESS",
        }
    ]
}