---
title: "Get a list of allowed domains"
method: GET
path: "/v2/email-service/smtp/sender_domains"
tags: ["Configuration"]
---

# Get a list of allowed domains

`GET /v2/email-service/smtp/sender_domains`

## Request

- Base URL: `https://api.sendpulse.com`
- URL: `https://api.sendpulse.com/v2/email-service/smtp/sender_domains`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.sendpulse.com/oauth/access_token`)

## Response `200`

Domain list with authentication status

- object
  - `data` object
    - `result` boolean
    - `data` DomainRecord[]
      - `id` integer
      - `user_id` integer
      - `service_type` integer
      - `service_value` string
      - `status` integer: 0 - inactive, 1 - active
      - `is_default` boolean
      - `ssl_type` integer
      - `checks` object
        - `check_dkim` boolean
        - `check_spf` boolean
        - `check_dmarc` boolean
        - `all_checks` boolean
        - `spf_txt_needed` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/sendpulse/apis/sendpulse-smtp-api.md) · [All operations](https://skmtc.dev/sendpulse/apis/sendpulse-smtp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendpulse/apis/sendpulse-smtp-api/revisions/9bab1dd9ec2e?raw)
