Skip to main content
POST
Add an allowed origin for the environment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Fields necessary to add an origin

origin
string
required

An RFC 6454 valid url. Must not include any paths. A single wildcard (*) can be used as the first subdomain.

Pattern: ^(https?|chrome-extension|moz-extension|capacitor):\/\/(?!.*(\*).*(\*).*)[*a-zA-Z0-9._-]{1,256}(:[*0-9]{1,5})?$
Example:

"http://*.example.com"

Response

Origin was added successfully

origin
object
Last modified on July 30, 2026