> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bevits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List sending domains

> The store's email sending domains (Settings → Domains), oldest first, with their verification status and whether open and click tracking are on. Tracking applies to every email sent from the domain, from campaigns and automations. Domains from an old provider, or whose creation failed, are left out. Over MCP, it requires permission to manage the store settings.



## OpenAPI

````yaml /openapi.en.json get /v1/email-domains
openapi: 3.1.0
info:
  title: Bevits API
  version: 1.0.0
  description: >-
    Bevits public API for querying and managing CRM data, customers, purchases,
    segments, tags, automations, recipes, campaigns, email templates, brand kit,
    custom events, and webhooks.
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.bevits.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
    description: API availability.
  - name: Identity
    description: Organization and API key identity.
  - name: Customers
    description: Customers and their relationships.
  - name: Segments
    description: Customer segments.
  - name: Purchases
    description: >-
      Purchases from store integrations and purchases created through the API by
      organizations that sell through their own system.
  - name: CRM data
    description: Tags and attribute definitions.
  - name: Automations
    description: Automation flows.
  - name: Campaigns
    description: Email, WhatsApp, and SMS campaigns.
  - name: Account and brand
    description: Account context, brand kit, and images.
  - name: Recipes
    description: Ready-made automations created from recipes, with undo.
  - name: Email templates
    description: Creating and importing email templates.
  - name: Events
    description: Custom events sent by the store and their types.
  - name: Webhooks
    description: Endpoints that receive the store's events, and the delivery log.
paths:
  /v1/email-domains:
    get:
      tags:
        - Account and brand
      summary: List sending domains
      description: >-
        The store's email sending domains (Settings → Domains), oldest first,
        with their verification status and whether open and click tracking are
        on. Tracking applies to every email sent from the domain, from campaigns
        and automations. Domains from an old provider, or whose creation failed,
        are left out. Over MCP, it requires permission to manage the store
        settings.
      operationId: listEmailDomains
      responses:
        '200':
          $ref: '#/components/responses/EmailDomainList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/ReadScopeRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/EmailDomainTrackingUnavailable'
components:
  responses:
    EmailDomainList:
      description: The store's sending domains.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EmailDomainList'
          example:
            data:
              - object: email_domain
                id: edm_cm9k2x0a10001
                name: mail.sualoja.com.br
                verification_status: verified
                open_tracking: true
                click_tracking: false
                html_url: https://app.bevits.com/settings/domains/cm9k2x0a10001
            has_more: false
    Unauthorized:
      description: Missing, invalid, expired, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: authentication_error
              message: Invalid API key.
              request_id: req_07f6cdc3c20249d6afcd90b4
    ReadScopeRequired:
      description: >-
        The API key does not have the read scope. This is the case of a
        send-only key, created with events:write alone.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: permission_denied
              code: missing_scope
              message: This API key does not have the required "read" scope.
              param: scope
              request_id: req_07f6cdc3c20249d6afcd90b4
    RateLimited:
      description: Request limit exceeded.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    EmailDomainTrackingUnavailable:
      description: >-
        The email service didn't answer. Read the domain again with GET
        /v1/email-domains to check its tracking, and repeat the change if
        needed: repeating it is safe.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: service_unavailable
              message: >-
                The email service didn't answer. Read the domain again to check
                its tracking, and repeat the change if needed.
              request_id: req_07f6cdc3c20249d6afcd90b4
  schemas:
    EmailDomainList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EmailDomain'
        has_more:
          type: boolean
          description: 'Always false: the list includes every domain of the store.'
      required:
        - data
        - has_more
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
    RateLimitErrorResponse:
      allOf:
        - $ref: '#/components/schemas/ErrorResponse'
        - type: object
          required:
            - retry_after
          properties:
            retry_after:
              type: integer
              minimum: 1
              description: Seconds before retrying.
    EmailDomain:
      type: object
      properties:
        object:
          type: string
          enum:
            - email_domain
        id:
          type: string
          pattern: ^edm_[A-Za-z0-9_-]+$
        name:
          type: string
          description: The sending domain, such as mail.yourstore.com.
        verification_status:
          type: string
          enum:
            - verified
            - pending
            - failed
            - temporary_failure
            - not_started
        open_tracking:
          type: boolean
          description: >-
            Whether emails sent from this domain carry the invisible image that
            records opens.
        click_tracking:
          type: boolean
          description: >-
            Whether links in emails sent from this domain pass through the
            tracking address click.email.bevits.com, which records clicks. Off,
            links go straight to their destination and clicks aren't recorded.
        html_url:
          type: string
          format: uri
          description: The domain's page in Settings → Domains.
      required:
        - object
        - id
        - name
        - verification_status
        - open_tracking
        - click_tracking
        - html_url
    Error:
      type: object
      required:
        - type
        - message
        - request_id
      properties:
        type:
          type: string
          enum:
            - authentication_error
            - conflict
            - internal_error
            - invalid_request
            - not_found
            - permission_denied
            - rate_limited
            - service_unavailable
            - validation_error
        code:
          type: string
          description: >-
            Stable, machine-readable reason within type, such as
            invalid_event_name. Present when the error has a named reason.
        message:
          type: string
        param:
          type: string
          description: >-
            Full path of the offending field, such as customer.email or
            events[3].name.
        suggestion:
          type: string
          description: A value that would be accepted, when there is an obvious one.
        request_id:
          type: string
          pattern: ^req_[a-f0-9]{24}$
  headers:
    RetryAfter:
      description: Seconds before retrying.
      schema:
        type: integer
        minimum: 1
    RateLimitLimit:
      description: Total limit for the current window.
      schema:
        type: integer
        example: 600
    RateLimitRemaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
        example: 599
    RateLimitReset:
      description: UTC instant when the current window ends.
      schema:
        type: string
        format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: bvt_live_...
      description: API key created in the organization settings.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.