cURL
curl --request GET \ --url http://sandbox.mintlify.com/organizations/{organizationId}/webhooks/{id} \ --header 'Authorization: Bearer <token>'
Retrieves webhook configuration. Returns webhook details including URL, events, and status.
Bearer <token>
organizationId
id
curl -X GET http://localhost:3001/api/organizations/550e8400-e29b-41d4-a716-446655440000/webhooks/123e4567-e89b-12d3-a456-426614174000 \ -H "Authorization: Bearer <your_token>"
{ "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "550e8400-e29b-41d4-a716-446655440000", "url": "https://example.com/webhooks", "events": ["organization.created", "member.added"], "isActive": true, "createdAt": "2025-01-26T10:00:00Z", "updatedAt": "2025-01-26T10:00:00Z" }
{ "statusCode": 401, "message": "Authentication required. Provide a valid bearer token." }
{ "statusCode": 403, "message": "Access denied. User is not a member of this organization." }
{ "statusCode": 404, "message": "Webhook not found with the provided ID." }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
<token>
Webhook retrieved successfully with configuration details.