v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-045244247.9 KB
Settings

Set CORS settings

The Set CORS settings endpoint allows you to register allowed origins (i.e. your domains) for use in cross-origin resource sharing (CORS).

Enabling CORS with Codat is required by our embeddable UIs (such as Connections SDK and Link SDK) to access Codat's API endpoints.

post/corsSettings

Request body

allowedOriginsstring[]

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

Example request

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

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"
  ]
}