Skip to main content

New webhook event type: connection.failed

· 2 min read
David Coplowe
Product Owner, Client Experience

We have expanded our support for connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform.-related notifications. Use the connection.failed webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. to be alerted if your SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. customer encounters issues when connecting their business software.

What's new?

You can now subscribe to the connection.failed webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status.. It provides details of the failed connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform., including information on the specific error that occurred. This helps you quickly identify and address the issue.

Connection event type schema structure
{
"id": "ba29118f-5406-4e59-b05c-ba307ca38d01",
"eventType": "connection.failed",
"generatedDate": "2024-08-08T17:10:34.015Z",
"payload": {
"referenceCompany": {
"id": "0498e921-9b53-4396-a412-4f2f5983b0a2",
"name": "Toft stores",
"links": {
"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"
},
"tags": {
"region": "us",
"uid": "335a086e-8563-4b03-94e3-39544225ecb6"
}
},
"connection": {
"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd",
"integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c",
"integrationKey": "dfxm",
"sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee",
"platformName": "Basiq",
"linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start",
"status": "PendingAuth",
"created": "2022-10-27T09:53:29.000Z",
"sourceType": "Banking",
"dataConnectionErrors": [
{
"statusCode": "403",
"statusText": "User cancelled linking",
"errorMessage": "User cancelled",
"erroredOnUtc": "2022-10-27T09:53:29.000Z",
"status": "Active"
}
]
}
}
}
New event types

Codat supports a wide range of event types. See Webhook event types to review all available events.

Who is this relevant for?

Any client currently using our webhooksWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. or clients looking to improve completion rates of their connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. flows through calls to action.

How to get started?

  • Already using our legacy rules webhooksWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status.? Learn how to migrate to new event types.
  • Implementing webhooksWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. for the first time? Learn how to use our webhook service.