update_person_webhook_endpoint
Update a personal webhook endpoint
All MCP toolsWrite
Patch one of the person's endpoints: url (re-guarded — public https only, unique per person), kinds (null = all candidate-receivable kinds), and/or active. PATCH semantics: omitted fields are preserved; provide at least one. Setting active: true re-enables an auto-disabled endpoint and resets its failure counter. Nonexistent and other people's endpoints refuse identically.
Input schema
{
"type": "object",
"properties": {
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The person whose endpoint to update (persons.id — self)."
},
"endpointId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The endpoint to update (person_webhook_endpoints.id)."
},
"url": {
"description": "New delivery target — re-guarded on change.",
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"kinds": {
"description": "PATCH semantics: OMIT to preserve the current filter; pass null to subscribe to ALL candidate-receivable kinds; pass a non-empty subset to narrow.",
"anyOf": [
{
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"profile_view",
"recommendation",
"approval_pending",
"message_received",
"proposal_received",
"mutual_interest",
"interview_schedule_updated",
"candidacy_stage_changed",
"approval_decided",
"job_published",
"webhook_endpoint_disabled",
"counter_request_received",
"counter_request_resolved",
"interview_completed",
"interview_result_recorded",
"interview_reminder",
"interview_debrief_reminder",
"interview_slot_response_nudge",
"material_disclosure_opened",
"material_request_received",
"material_request_answered",
"material_request_resolved",
"agreement_recorded",
"interview_cancelled"
]
},
"description": "Non-empty subset of the candidate-receivable notification kinds to deliver; null/omitted = all candidate-receivable kinds."
},
{
"type": "null"
}
]
},
"active": {
"description": "true re-activates (clears auto-disable state); false pauses delivery.",
"type": "boolean"
}
},
"required": [
"personId",
"endpointId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output schema
{
"type": "object",
"properties": {
"endpoint": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The endpoint id (person_webhook_endpoints.id)."
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The owning person (persons.id) — always the caller's own."
},
"url": {
"type": "string",
"format": "uri",
"description": "The delivery target (https, public address — SSRF-guarded); unique per person."
},
"kinds": {
"anyOf": [
{
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"profile_view",
"recommendation",
"approval_pending",
"message_received",
"proposal_received",
"mutual_interest",
"interview_schedule_updated",
"candidacy_stage_changed",
"approval_decided",
"job_published",
"webhook_endpoint_disabled",
"counter_request_received",
"counter_request_resolved",
"interview_completed",
"interview_result_recorded",
"interview_reminder",
"interview_debrief_reminder",
"interview_slot_response_nudge",
"material_disclosure_opened",
"material_request_received",
"material_request_answered",
"material_request_resolved",
"agreement_recorded",
"interview_cancelled"
]
},
"description": "Non-empty subset of the candidate-receivable notification kinds to deliver; null/omitted = all candidate-receivable kinds."
},
{
"type": "null"
}
],
"description": "Subscribed candidate-receivable notification kinds; null = all candidate-receivable kinds."
},
"active": {
"type": "boolean",
"description": "Whether deliveries fan out to this endpoint (auto-disable clears it)."
},
"autoDisabledAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "Set when consecutive permanent failures crossed the auto-disable threshold; re-enable with update_person_webhook_endpoint { active: true }."
},
"consecutiveFailures": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Consecutive permanent delivery failures since the last success."
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "When the endpoint was registered (ISO 8601, UTC)."
}
},
"required": [
"id",
"personId",
"url",
"kinds",
"active",
"autoDisabledAt",
"consecutiveFailures",
"createdAt"
],
"additionalProperties": false,
"description": "One person-axis outbound-webhook endpoint: the person's own egress configuration, secret NEVER included — it is shown once at create/rotate time only."
}
},
"required": [
"endpoint"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}