---
title: "View allowed senders"
method: POST
path: "/allowed_senders/view"
tags: ["ALLOWED SENDERS"]
---

# View allowed senders

`POST /allowed_senders/view`

Returns the email addresses and domain names on your Allowed or Restricted Senders list, as well as the Restrict Senders setting, which dictates how they are interpreted.

## Request body

- object
  - `subaccount_id` string — If you wish to make this API call on behalf of a subaccount then include its unique ID here

## Response `200`

List of Allowed Senders

- object
  - `request_id` string, required
  - `data` object, required
    - `allowed_senders` string[], required — A list of email addresses and domain names
    - `mode` 'whitelist' | 'blacklist' | 'disabled', required — A string indicating how the list of email address and domain names is interpreted.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4.md) · [All operations](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smtp2go/smtp2go-api-v3-0-4/revisions/1ba6b25eebb9/schema)
