GET https://api.usecommune.com/newsletters/{newsletter}/domains Production. There is no separate sandbox host.

List a newsletter's website domains

The creator's own hostnames attached to this newsletter, each saying which Commune website origin answers for it. Needs settings: read.

What this returns has been described more narrowly than it behaved. It used to say "the domains pointed at this newsletter's Commune site", and that was the same set only while a hostname could serve nothing else. A hostname can now serve the creator's own pages instead, this collection has always returned every row of the table, and mode on each entry is what makes "every row" readable rather than misleading. Use ?mode=app for the old reading of this list, and nothing filters unless you ask.

Two independent things have to be true for a hostname to work, and they are reported separately. verification_status says whether ownership was proved and a certificate issued. routing_ok says whether the hostname actually resolves to Commune, which a certificate says nothing about.

Path parameters

  • string Required

Query parameters

  • string
  • integer
  • string
  • string
  • string

Request Headers

  • string
GET /newsletters/{newsletter}/domains
Loading...

Share your request

Use this link to easily share a pre-filled request of this operation. Everything you filled will be shared apart from the authentication fields.

Request URL

https://api-reference.usecommune.dev/explorer/operation/operation-listnewsletterdomains

Send a delete request

It looks like you’re about to send a DELETE request to this API. This type of request carries a risk of permanent and irreversible data loss.

Are you sure you want to continue?
Response
Waiting for a request to be sent.