curl --request PATCH \
--url https://my.flowsign.app/api/v1/webhooks/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch('https://my.flowsign.app/api/v1/webhooks/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch('https://my.flowsign.app/api/v1/webhooks/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://my.flowsign.app/api/v1/webhooks/{endpointId}';
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://my.flowsign.app/api/v1/webhooks/{endpointId}"
payload = {
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": ["PACKAGE_COMPLETED", "PACKAGE_DECLINED", "PACKAGE_VOIDED"],
"enabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/webhooks/{endpointId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"url\": \"https://hooks.example.co.nz/flowsign\",\n \"description\": \"Production CRM sync\",\n \"events\": [\n \"PACKAGE_COMPLETED\",\n \"PACKAGE_DECLINED\",\n \"PACKAGE_VOIDED\"\n ],\n \"enabled\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/webhooks/{endpointId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"url\": \"https://hooks.example.co.nz/flowsign\",\n \"description\": \"Production CRM sync\",\n \"events\": [\n \"PACKAGE_COMPLETED\",\n \"PACKAGE_DECLINED\",\n \"PACKAGE_VOIDED\"\n ],\n \"enabled\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
$headers=@{}
$headers.Add("Authorization", "Bearer <token>")
$headers.Add("Content-Type", "application/json")
$response = Invoke-WebRequest -Uri 'https://my.flowsign.app/api/v1/webhooks/{endpointId}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true
}'{
"data": {
"id": "cmg1h7t2k0003v8p9d4q6xw2e",
"url": "https://hooks.example.co.nz/flowsign",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true,
"updatedAt": "2026-09-15T04:20:00.000Z"
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}Update a webhook endpoint
Updates any of url, description, events, or enabled. Requires canManageWebhooks.
curl --request PATCH \
--url https://my.flowsign.app/api/v1/webhooks/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch('https://my.flowsign.app/api/v1/webhooks/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch('https://my.flowsign.app/api/v1/webhooks/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://my.flowsign.app/api/v1/webhooks/{endpointId}';
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://hooks.example.co.nz/flowsign',
description: 'Production CRM sync',
events: ['PACKAGE_COMPLETED', 'PACKAGE_DECLINED', 'PACKAGE_VOIDED'],
enabled: true
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://my.flowsign.app/api/v1/webhooks/{endpointId}"
payload = {
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": ["PACKAGE_COMPLETED", "PACKAGE_DECLINED", "PACKAGE_VOIDED"],
"enabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/webhooks/{endpointId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"url\": \"https://hooks.example.co.nz/flowsign\",\n \"description\": \"Production CRM sync\",\n \"events\": [\n \"PACKAGE_COMPLETED\",\n \"PACKAGE_DECLINED\",\n \"PACKAGE_VOIDED\"\n ],\n \"enabled\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/webhooks/{endpointId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"url\": \"https://hooks.example.co.nz/flowsign\",\n \"description\": \"Production CRM sync\",\n \"events\": [\n \"PACKAGE_COMPLETED\",\n \"PACKAGE_DECLINED\",\n \"PACKAGE_VOIDED\"\n ],\n \"enabled\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
$headers=@{}
$headers.Add("Authorization", "Bearer <token>")
$headers.Add("Content-Type", "application/json")
$response = Invoke-WebRequest -Uri 'https://my.flowsign.app/api/v1/webhooks/{endpointId}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
"url": "https://hooks.example.co.nz/flowsign",
"description": "Production CRM sync",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true
}'{
"data": {
"id": "cmg1h7t2k0003v8p9d4q6xw2e",
"url": "https://hooks.example.co.nz/flowsign",
"events": [
"PACKAGE_COMPLETED",
"PACKAGE_DECLINED",
"PACKAGE_VOIDED"
],
"enabled": true,
"updatedAt": "2026-09-15T04:20:00.000Z"
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}{
"error": "Missing permission: canSendPackages",
"details": {
"recipients.0.email": [
"Invalid email"
]
}
}Authorizations
Headers
Required on a key that acts for members, refused on any other key. Names the member the call runs as, as key=value: email=jane@acme.com, employee_id=E-1001, scim_external_id=… or a custom identifier. Keys are lowercase and matched case-insensitively. The call fails with 403 when no active member of the workspace matches.
Body
Replaces the subscribed events. At least one.
1Event name. PACKAGE_SENT: a package was sent to its recipients. PACKAGE_COMPLETED: every recipient finished and the package is complete. PACKAGE_VOIDED: the sender voided the package. PACKAGE_EXPIRED: the package passed its expiry before completing. PACKAGE_DECLINED: a recipient declined and the package stopped. PACKAGE_ON_HOLD: the sender paused signing on the package. PACKAGE_RESUMED: a package on hold went back out for signing. PACKAGE_SCHEDULED: the package was scheduled to send later, or moved to a new time. PACKAGE_DELETED: a package that was scheduled or out for signing was deleted. SESSION_SENT: one recipient's signing invitation was sent. SESSION_OPENED: a recipient opened their signing link. SESSION_COMPLETED: a recipient finished their step. SESSION_DECLINED: a recipient declined their step. SESSION_REMINDED: a recipient was sent a reminder. SESSION_CANCELLED: a recipient's open signing session ended because the package was declined, voided, expired or deleted, or a correction removed them.
PACKAGE_SENT, PACKAGE_COMPLETED, PACKAGE_VOIDED, PACKAGE_EXPIRED, PACKAGE_DECLINED, PACKAGE_ON_HOLD, PACKAGE_RESUMED, PACKAGE_SCHEDULED, PACKAGE_DELETED, SESSION_SENT, SESSION_OPENED, SESSION_COMPLETED, SESSION_DECLINED, SESSION_REMINDED, SESSION_CANCELLED [ "PACKAGE_COMPLETED", "PACKAGE_DECLINED", "PACKAGE_VOIDED" ]
Was this page helpful?

