ChatofyDevelopers
REST APIMCP Server (AI)New
API KeysWebhooks
Chatofy API
/
Getting Started
API Resources
API v1.0 Live
Developer APICRM Pipelines & DealsRestore Deal

Restore Deal

Restores a previously soft-deleted deal, clearing deleted_at, recording an audit event, and emitting webhooks.

POST/api/v1/deals/{id}/restore

Response Payload

200 OKapplication/json
statusstring

"1" = Success, "0" = Failure.

messageobject

The response data payload.

Code Snippets & Examples

1curl -X POST "https://app.chatofy.in/api/v1/deals/d2222222-3333-4444-5555-666666666666/restore" \
2 -H "Authorization: Bearer YOUR_API_KEY"

Was this endpoint guide helpful?

Previous Endpoint
Delete Deal
Next Endpoint
Search Deals
© 2026 Chatofy Cloud Platform. All rights reserved.
1curl -X POST "https://app.chatofy.in/api/v1/deals/d2222222-3333-4444-5555-666666666666/restore" \
2 -H "Authorization: Bearer YOUR_API_KEY"
200 OKapplication/json
1{
2 "success": true,
3 "data": {
4 "deal": {
5 "id": "d2222222-3333-4444-5555-666666666666",
6 "title": "Annual Support SLA",
7 "value": 50000,
8 "status": "open",
9 "deleted_at": null,
10 "updated_at": "2026-10-27T01:10:00+05:30"
11 }
12 },
13 "message": "Deal restored successfully"
14}