Skip to main content

Add CORS Domain

warning

This endpoint is only available to users with Sentry Interactive issued auth tokens.

Adds a domain to the list of permitted CORS domains to allow webapps to call Sentry Interactive APIs directly.

HTTP Request

POST https://api.doordeck.com/platform/application/APPLICATION_ID/cors

Request Parameters

ParameterRequiredDescription
urltrueCORS Domain

Example

CURL
curl 'https://api.doordeck.com/platform/application/APPLICATION_ID/cors' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TOKEN' \
--data-binary '{"url": "CORS_URL"}'
Remember
  • Replace TOKEN with your access token.
  • Replace APPLICATION_ID with the application ID.
  • Replace CORS_URL with the CORS domain to be added.