Allowed domain registration API

The UI offers a way to add “allowed domains” (see below). For my app , I dynamically add domains where it is hosted and would like to add each domain as an “allowed domain” via the API.

Is that possible?

Hey Steven – thanks for posting!

We don’t currently offer a way for authorized domains to be added programmatically.

That said, we do have a new B2B product called Organization Tenancy coming out soon that will unblock the use case where you need to set a different authorized domain for each of your own customers. Does that sound relevant to your application, or is your use case distinct?