Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Email Gateway Defense
Results will update as you type.
  • Release Notes
  • Upcoming Change with Admin Sender Policies to Override User Policies
  • How to Protect Against Gateway Bypass and Direct Send Risks
  • Getting to Know Email Gateway Defense
  • Getting Started
  • Moving from Barracuda Email Security Gateway to Email Gateway Defense
  • How the Service Works
  • Email Gateway Defense IP Ranges Used for Configuration
  • Partner Accounts
  • Sender Policy Framework for Outbound Mail
  • How to Set Up MX Records for Domain Verification
  • Security Warnings
  • Understanding User Accounts
  • Sender Authentication
  • Inbound Filtering Policy
  • Outbound Filtering Policy
  • Advanced Configuration
  • Managing Domains
  • Logs and Reports
  • User Guides
  • Tools and Add-Ins
  • API Overview
    • Getting Started with the API
    • Registering your Application in the Barracuda Token Service
    • Obtaining an Access Token
    • Resources
    • Paging
    • Example - API Client in Python
  • Troubleshooting, Error Messages, and Additional Tips
  • Known Behaviors and FAQs
  • Online Service Terms

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    API Overview
    Published Sep 10

    API Overview

    Sep 10, 2026
    Subscribe

    The Email Gateway Defense API is a beta release and not yet generally available. The APIs in the beta endpoint are currently in preview and subject to change.

    The Email Gateway Defense REST API provides the ability to interact with Email Gateway Defense. This article gives a brief description of REST API and the API methods you can use to access Email Gateway Defense. 

    Representational State Transfer (REST) is a stateless architecture that runs over HTTP. REST API is a simple web service API you can use to interact with Email Gateway Defense. For more information on REST API, visit http://en.wikipedia.org/wiki/Representational_state_transfer.

    The Email Gateway Defense API is currently only available for accounts in the United States (US) and United Kingdom (UK) regions.

    Getting Started

    You will need an active Barracuda Cloud Control (BCC) account with administrator privileges for Email Gateway Defense, and your application registered in the Barracuda Token Service in order to receive the required Client ID and Client Secret. The Client Secret is used to sign and validate access tokens for authentication and to gain access to API endpoints.

    For more details, review our Getting Started with the API information. 

    Authorization Requirements

    All endpoints will require an access token. Access tokens are generated from the token endpoint.

    Use the API

    Use the following URL based on your region:

    Region

    URL

    Region

    URL

    United States (US)

    https://api.barracudanetworks.com/

    United Kingdom (UK)

    https://uk.api.barracudanetworks.com/

     The following endpoints are available:

    Accounts
    • List accounts 

    • Get account  

    Domains
    • List domains

    • Get domain

    Statistics
    • Get statistics

    Paging

    Sometimes API requests will return a large number of results. Rather than retrieve them all at once, which may affect your application’s performance, you can use paging to retrieve the results in batches. For more information, see Paging.

    Scopes

    The scope constrains the endpoints to which a client has access, and whether a client has read or write access to an endpoint. 

    As a general rule, choose the most restrictive scope possible and avoid requesting scopes that your application does not need. 

    Available scopes:

    Name

    Description

    Name

    Description

    ess:account:read

    Allow read-only access to account information.


    HTTP response codes

    HTTP code

    Status

    Description

    HTTP code

    Status

    Description

    200

    OK

    The request was successful.

    400

    Bad Request

    The request was invalid and/or not formed properly.

    401

    Unauthorized

    There is a missing or incorrect API token in header.

    403

    Forbidden

    The client did not have permission to access the requested resource.

    404

    Not Found

    The URI requested is invalid or the resource requested does not exists.

    406

    Not Acceptable

    The request specified an invalid format.

    410

    Gone

    This resource is gone. Used to indicate that an API endpoint has been turned off.

    429

    Too Many Requests

    Returned when a request cannot be served due to the application’s rate limit having been exhausted for the resource.

    500

    Internal Server Error

    Something went wrong.

    502

    Bad Gateway

    The service is down or being upgraded. Try again later.

    503

    Service Unavailable

    The service is up, but overloaded with requests. Try again later.

    504

    Gateway Timeout

    Servers are up, but the request couldn’t be serviced due to some failure within our stack. Try again later.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 15, "requestCorrelationId": "27abc80973a642248c90a456a8651fdb"}