{"format":"jobhunt.support.operation/v1","revision":"f77de0f4803debf8c5aaac1702865d976a380e994ea7f572d4e571c044d5495f","contract_sha256":"acfda93724db1a3f53160a30bc5891f447ad14601f26b02ff4cacd7c17d0812e","documentation_only":true,"operation":{"name":"send_webhook_test","description":"Queue the reviewed test event for delivery to the saved address of one webhook subscription. Review and explicitly queue one synthetic webhook.test using the saved destination and signing service, or inspect owned existing durable delivery facts and reconcile only a matching committed HTTP2xx receipt. Exact account/source/actor review, true consent, shared receipts and deterministic receiver key; no automatic new request. No arbitrary payload, signing key, private event/response body or synchronous external IO. Paused subscriptions may receive an explicitly authorized synthetic test, preserving native test behavior; ordinary events remain paused. Reconciliation never sends or changes receiver receipts. Unconfirmed/failed/legacy outcomes stay factual and require separate review.","http":"POST /api/v1/journey/send_webhook_test","readOnly":false,"scopes":["read:webhooks","write:webhooks"],"availability":"connected-journey","destructive":true,"implementation_sha256":"9a37390866d26961fe382ef1a62068922541a65c66c35918eede30e990aee7ea","input_schema_ref":"/support/contracts.json#/tools/send_webhook_test/inputSchema","output_schema_ref":"/support/contracts.json#/tools/send_webhook_test/outputSchema","required_fields":["expected_account_id","request_id","subscription_id","expected_metadata_sha256","review_token","confirm_send"]},"contract":{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false,"title":"Send webhook test"},"description":"Queue the reviewed test event for delivery to the saved address of one webhook subscription. Review and explicitly queue one synthetic webhook.test using the saved destination and signing service, or inspect owned existing durable delivery facts and reconcile only a matching committed HTTP2xx receipt. Exact account/source/actor review, true consent, shared receipts and deterministic receiver key; no automatic new request. No arbitrary payload, signing key, private event/response body or synchronous external IO. Paused subscriptions may receive an explicitly authorized synthetic test, preserving native test behavior; ordinary events remain paused. Reconciliation never sends or changes receiver receipts. Unconfirmed/failed/legacy outcomes stay factual and require separate review.","inputSchema":{"additionalProperties":false,"properties":{"confirm_send":{"const":true,"title":"Confirm Send","type":"boolean"},"expected_account_id":{"pattern":"^jh_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","title":"Expected Account Id","type":"string"},"expected_metadata_sha256":{"pattern":"^[a-f0-9]{64}$","title":"Expected Metadata Sha256","type":"string"},"request_id":{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","title":"Request Id","type":"string"},"review_token":{"maxLength":4096,"minLength":1,"title":"Review Token","type":"string"},"subscription_id":{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","title":"Subscription Id","type":"string"}},"required":["expected_account_id","request_id","subscription_id","expected_metadata_sha256","review_token","confirm_send"],"title":"TestOriginal","type":"object"},"name":"send_webhook_test","outputSchema":{"$defs":{"Failure":{"additionalProperties":false,"properties":{"code":{"enum":["authentication_required","account_changed","insufficient_scope","access_unavailable","not_found","invalid_input","revision_conflict","request_id_conflict","source_unavailable","processing_failed","rate_limited","retry_expired"],"title":"Code","type":"string"},"message":{"maxLength":1000,"minLength":1,"title":"Message","type":"string"},"retry_after_seconds":{"anyOf":[{"maximum":900,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Retry After Seconds"}},"required":["code","message"],"title":"Failure","type":"object"},"NextAction":{"additionalProperties":false,"properties":{"kind":{"enum":["read","edit","select","retry","reconnect","consent","open_website","open_employer","support","none"],"title":"Kind","type":"string"},"label":{"maxLength":255,"title":"Label","type":"string"},"record_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Record Id"}},"required":["kind","label"],"title":"NextAction","type":"object"},"Operation":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"maxLength":100,"minLength":1,"title":"Kind","type":"string"},"resource":{"anyOf":[{"$ref":"#/$defs/Summary"},{"type":"null"}],"default":null},"retry_after_seconds":{"maximum":900,"minimum":0,"title":"Retry After Seconds","type":"integer"},"retry_expires_at":{"maxLength":40,"minLength":20,"title":"Retry Expires At","type":"string"},"status":{"enum":["pending","running","succeeded","failed"],"title":"Status","type":"string"}},"required":["id","status","kind","retry_after_seconds","retry_expires_at"],"title":"Operation","type":"object"},"State":{"additionalProperties":false,"properties":{"attempt_count":{"title":"Attempt Count","type":"integer"},"can_reconcile":{"title":"Can Reconcile","type":"boolean"},"delivery_id":{"anyOf":[{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","type":"string"},{"type":"null"}],"title":"Delivery Id"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"fingerprint":{"pattern":"^[a-f0-9]{64}$","title":"Fingerprint","type":"string"},"job_id":{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","title":"Job Id","type":"string"},"job_state":{"enum":["pending","running","retry","succeeded","failed"],"title":"Job State","type":"string"},"kind":{"enum":["test","event"],"title":"Kind","type":"string"},"lease_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lease Expires At"},"max_attempts":{"title":"Max Attempts","type":"integer"},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Attempt At"},"receiver_state":{"enum":["not_started","unconfirmed","confirmed","inconsistent"],"title":"Receiver State","type":"string"},"request_id":{"anyOf":[{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","type":"string"},{"type":"null"}],"title":"Request Id"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"subscription_id":{"format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","title":"Subscription Id","type":"string"}},"required":["job_id","subscription_id","request_id","kind","job_state","receiver_state","delivery_id","response_status","attempt_count","max_attempts","next_attempt_at","lease_expires_at","failure_code","can_reconcile","fingerprint"],"title":"State","type":"object"},"Summary":{"additionalProperties":false,"properties":{"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"enum":["application","search","document","task","interview","contact","company","note","profile","package","notification","highlight"],"title":"Kind","type":"string"},"label":{"maxLength":255,"minLength":1,"title":"Label","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["id","kind","label","revision"],"title":"Summary","type":"object"}},"additionalProperties":false,"properties":{"data":{"anyOf":[{"$ref":"#/$defs/State"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"next_action":{"$ref":"#/$defs/NextAction"},"operation":{"anyOf":[{"$ref":"#/$defs/Operation"},{"type":"null"}],"default":null},"outcome":{"enum":["ready","pending","needs_input","conflict","failed"],"title":"Outcome","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["outcome","data","next_action"],"title":"Result[State]","type":"object"},"title":"Send webhook test"}}