Skip to main content
PUT
/
api
/
v3
/
organization
/
webhooks
/
{webhook_id}
Update Webhook
curl --request PUT \
  --url https://api.dataspike.io/api/v3/organization/webhooks/{webhook_id} \
  --header 'Content-Type: application/json' \
  --header 'ds-api-token: <api-key>' \
  --data '{
  "is_sandbox": false,
  "webhook_url": "https://dataspike.io",
  "event_types": [
    "AML_SCREENING"
  ],
  "enabled": true
}'

Authorizations

ds-api-token
string
header
required

Path Parameters

webhook_id
string<uuid>
required

Webhook ID

Example:

"01827ed4-c928-7a3c-9a30-7ab7cc169d11"

Body

application/json

Common Webhook Request

is_sandbox
boolean
default:false

For what environment new Webhook should be created

webhook_url
string<url>

Your server endpoint where Dataspike service will send AML and Document Verification events

Example:

"https://dataspike.io"

event_types
enum<string>[]
Example:
["AML_SCREENING"]
enabled
boolean
default:true

Set to false if you want temporarily deactivate webhook

Response

200

Webhook Updated