---
title: "POST SyncFailed"
method: POST
path: "SyncFailed"
deprecated: true
---

# POST SyncFailed

`POST SyncFailed` (webhook)

> **Deprecated.**

Indicates a failure occurred during an expense sync. Used for Sync for Expenses only.

> This event type is deprecated. Use the `expenses.sync.unsuccessful` to get notified when an expense sync completes unsuccessfully.

## Payload

- SyncFailedWebhook — Webhook request body used to notify that a sync has failed.
  - `ClientId` string, uuid — Unique identifier for your client in Codat.
  - `ClientName` string — Name of your client in Codat.
  - `CompanyId` Schema — unresolved $ref
  - `RuleId` string, uuid — Unique identifier for the rule.
  - `RuleType` string — The type of rule.
  - `AlertId` string, uuid — Unique identifier of the webhook event.
  - `Message` string — A human-readable message about the webhook.
  - `Data` SyncFailedWebhookData — unresolved $ref

## Acknowledgement `200`

Return a 200 status to indicate that the webhook was received successfully.

---

[API](https://skmtc.dev/codatio/apis/sync-for-expenses-v1.md) · [All operations](https://skmtc.dev/codatio/apis/sync-for-expenses-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codatio/sync-for-expenses-v1/revisions/f64df5c655ec/schema)
