Connection management

Get CORS settings

The Get CORS settings endpoint returns the allowed origins (i.e. your domains) you want to allow cross-origin resource sharing (CORS) with Codat.

Enabling CORS with Codat is required by our embeddable Connections SDK to access Codat's API endpoints.

The embeddable Connections SDK lets your customers control access to their data by allowing them to manage their existing connections.

get/connectionManagement/corsSettings

Response

Success

allowedOriginsstring[]

An array of allowed origins (i.e. your domains) to permit cross-origin resource sharing (CORS).n resource sharing (CORS).

Example response

{
  "allowedOrigins": [
    "https://www.bank-of-dave.com"
  ]
}

Changes