Trigger BGV Webhook

Manually trigger a BGV webhook event and dispatch it to all registered webhook URLs subscribed to that event. Useful for re-sending a completed event or testing your webhook integration without re-running the full verification.

Required permissions: bgv:manage.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
eventstringRequired

Event to dispatch: bgv.initiated | bgv.in_progress | bgv.completed | bgv.failed | bgv.updated | bgv.cancelled

bgvRequestIdstringOptionalformat: "uuid"

BGV request ID (required if candidateId not provided)

candidateIdstringOptionalformat: "uuid"

Candidate ID (required if bgvRequestId not provided)

campaignIdstringOptionalformat: "uuid"

Campaign ID — optional filter when using candidateId

datamap from strings to anyOptional

Optional custom payload override. If omitted, BGV + DigiLocker details are fetched automatically from the database.

Response

Webhook event dispatched to all registered subscribers
successbooleanOptional
dataobjectOptional
timestampstringOptional
versionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error