Bulk Authorize Webhook Access

post/api/v2/internal/webhook/bulkAuthorize

Verify if the authenticated user has admin access to all specified webhooks. Called internally by NCC before allowing bulk operations on webhook notifications. All webhooks must be authorized; if any check fails the entire request is rejected.

Request Body

webhookIds array[string] required
Array of webhook public IDs to authorize
Example: ["59cd72485007a239fb00282ed480da1f"]

200 Response

authorized boolean required
Whether the user is authorized
userId string required
The authenticated user's public ID

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id