Create a data connection
codat_create_connectionMUTATES Codat data — create a new data connection on a company for a given source platform. Provide the platformKey (from codat_list_integrations, e.g. "gbol" for QuickBooks Online sandbox). The connection is created in a PendingAuth state; the customer completes authorization via the returned linkUrl. Codat API: POST /companies/{companyId}/connections. Returns the created connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Additional raw Codat fields merged into the request body (escape hatch for any field not typed above). | |
| companyId | Yes | The Codat companyId (UUID). | |
| platformKey | Yes | The integration platformKey to connect (from codat_list_integrations). |