Connection management
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 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.
post/connectionManagement/corsSettings
Request body
Example request
{
"allowedOrigins": [
"https://www.bank-of-dave.com"
]
}Response
Success
Example response
{
"allowedOrigins": [
"https://www.bank-of-dave.com"
]
}