Implement the forms.removed
webhook to know when a form object is removed.
This webhook is triggered when a user removes all previously uploaded documents.
Event
forms.removed
Payload
Attribute | Type | Description |
---|---|---|
account | string uuid | ID of the account the form was removed from. |
user | string uuid | ID of the user the account belongs to. |
form | string uuid | ID of the removed form. |
Examples
curl -X POST https://api-sandbox.develop.argyle.com/v1/webhooks \
-u api_key_id:api_key_secret \
-H "Content-Type: application/json" \
-d '{"events": ["forms.removed"],
"secret": "<secret for signature verification>",
"name": "Form object was removed.",
"url": "https://mybackend.com/callback/argyle"}'
{
"event": "forms.removed",
"name": "Form object was removed.",
"data": {
"account": "ada143be-3c90-4534-b7ea-9899674dc6e0",
"user": "3823026e-a964-45f6-b201-6b8c096b30d3",
"form": "ada143be-3c90-4534-b7ea-9899674dc6e0"
}
}