cURL
curl --request PATCH \ --url https://admin-api.minervaai.io/v2/webhooks/screening/{webhookId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "webhookName": "Updated webhook name", "events": [ { "kind": "profile_status_updated", "values": [ "accepted", "rejected" ] } ], "url": "https://updated.web.site/path" } '
{ "status": 200, "message": "Webhook created successfully", "result": { "id": "ecc9b161-e6bf-48e4-816d-b13046a42eaa", "webhookName": "Test webhook", "webhookKey": "e7b3b2f0-8e17-40a5-a083-2234c6bc9dab", "events": [ { "kind": "profile_status_updated", "values": [ "potential_match" ] } ], "url": "https://your.web.site/path" } }
The PATCH method on a single screening webhook resource will update fields on that screening webhook.
Admin API key for authentication
The unique identifier of the webhook
Request body for updating a screening webhook
The name that should be assigned to the webhook
"Updated webhook name"
The list of events that the webhook should subscribe to
Show child attributes
The URL that the webhook should POST to when event conditions are met
"https://your.web.site/path"
Webhook updated successfully
Standard webhook response
HTTP status code
200
Response message
"Webhook created successfully"
A webhook configuration for screening events