---
title: "Update or pause a signing webhook"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update or pause a signing webhook

Path: CloudRaker Workspace API › Workspace Signing Webhooks

`PATCH /signing/developer/webhooks/{id}`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `id` (`appUpdateSigningWebhook.path.id`; string, required)

## Request body

_Required._

- `url` (`appUpdateSigningWebhook.url`; string, optional)
  - format `uri`; maxLength 2048
- `events` (`appUpdateSigningWebhook.events`; array<string>, optional)
  - one of `"document.sent"`, `"document.completed"`, `"document.declined"`, `"document.expired"`, `"document.cancelled"`, `"document.failed"`, `"recipient.viewed"`, `"recipient.signed"`, `"recipient.approved"`, `"recipient.declined"`, `"delegation.requested"`, `"delegation.granted"`, `"delegation.declined"`, `"delegation.revoked"`, `"delegation.contested"`
- `disabled` (`appUpdateSigningWebhook.disabled`; boolean, optional)

## Example request

```json
{
  "url": "http://example.com",
  "events": [
    "document.sent"
  ],
  "disabled": true
}
```

## Code samples

### cURL

```bash
curl --request PATCH \
  --url 'https://api.cloudraker.com/signing/developer/webhooks/<id>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "http://example.com",
  "events": [
    "document.sent"
  ],
  "disabled": true
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/signing/developer/webhooks/<id>';
const options = {
  method: 'PATCH',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({url: 'http://example.com', events: ['document.sent'], disabled: true})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/signing/developer/webhooks/<id>"

payload = {
    "url": "http://example.com",
    "events": ["document.sent"],
    "disabled": True
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Updated webhook.

#### Example

```json
{
  "id": "string",
  "url": "http://example.com",
  "teamId": "string",
  "events": [
    "document.sent"
  ],
  "disabled": true,
  "createdAt": "string",
  "updatedAt": "string"
}
```

- `id` (`appUpdateSigningWebhook.response.200.id`; string, required)
- `url` (`appUpdateSigningWebhook.response.200.url`; string, required)
  - format `uri`
- `teamId` (`appUpdateSigningWebhook.response.200.teamId`; string, required)
- `events` (`appUpdateSigningWebhook.response.200.events`; array<string>, required)
  - one of `"document.sent"`, `"document.completed"`, `"document.declined"`, `"document.expired"`, `"document.cancelled"`, `"document.failed"`, `"recipient.viewed"`, `"recipient.signed"`, `"recipient.approved"`, `"recipient.declined"`, `"delegation.requested"`, `"delegation.granted"`, `"delegation.declined"`, `"delegation.revoked"`, `"delegation.contested"`
- `disabled` (`appUpdateSigningWebhook.response.200.disabled`; boolean, required)
- `createdAt` (`appUpdateSigningWebhook.response.200.createdAt`; string, required)
- `updatedAt` (`appUpdateSigningWebhook.response.200.updatedAt`; string, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`appUpdateSigningWebhook.response.400.success`; boolean, required)
  - one of `false`
- `error` (`appUpdateSigningWebhook.response.400.error`; array<unknown>, required)
- `data` (`appUpdateSigningWebhook.response.400.data`; unknown, required)


Source: https://docs.cloudraker.com/workspace/api/workspace-signing-webhooks/app-update-signing-webhook/index.md
