2025-01-10: Deprecation of company-specific webhooks
On January 10, 2025, we will deprecate companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources.-specific webhooksWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. delivered by our legacy rule services and replace them with recently introduced company tags.
This change is designed to simplify the way we handle metadata in webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. payloads.
Action required
If you are currently using companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources.-specific webhooksWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. and want to avoid disruption in receiving webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. notifications:
- Move all metadata previously passed via URL paths into the
tagsproperty in the company schema. See Add metadata to a company. - Update all webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. consumers to retrieve metadata from the
payload.referenceCompany.tagsproperty. See Filter webhooks by company tags.
Once updated, you will be able to access metadata from the tags property shown below:
{
"id": "ba29118f-5406-4e59-b05c-ba307ca38d01",
"type": "connection.created",
"generatedDate": "2024-08-08T17:10:34.015Z",
"payload": {
"referenceCompany": {
"id": "0498e921-9b53-4396-a412-4f2f5983b0a2",
...
"tags": {
"customerRegion": "us",
"uid": "335a086e-8563-4b03-94e3-39544225ecb6"
}
},
...
}
}
Expected impact
If no action is taken by January 10, 2025, you will no longer receive companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources.-specific webhookWebhook An automated notification sent from Codat to your application when specific events occur, such as when data syncs complete or connections change status. notifications because the legacy rule services that deliver them will be sunset on January 10, 2025.
