LIST - Webhook
This API allows authenticated users to retrieve their webhook configurations. It supports both listing all webhooks created by the user and retrieving a specific webhook by its unique identifier.
Key Notes:
- Returns only webhooks created by the authenticated user.
- Supports pagination for the list endpoint.
- Individual webhook retrieval requires the webhook’s unique ID.
Endpoints:
- List Webhooks:
GET /webhooks/v1/webhook/- Returns paginated list of user’s webhooks - Get Specific Webhook:
GET /webhooks/v1/webhook/{id}/- Returns details of a specific webhook
Scenario: Managing Webhook Configurations
- A developer wants to review all their configured webhooks.
- They call the list endpoint to see all webhooks they’ve created.
- They can then use specific webhook IDs to get detailed information about individual webhooks.
- This is useful for monitoring webhook status and updating configurations.
GET
List Webhooks
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
List of webhooks retrieved successfully.
Previous
POST - Webhook This API allows authenticated users to create a new webhook for automatic processing of uploaded documents. The webhook will be triggered when documents are processed using the specified API template.
**Key Notes:**
- Requires authentication and a valid API template ID from the webhook templates endpoint.
- The `secret_hash` field is encrypted using encryption for security.
- Each user can only create one webhook per API template (duplicate prevention).
- Returns the created webhook details including the generated UUID.
**Required Fields:**
- **api_template**: UUID of the webhook template (from webhook templates endpoint)
- **endpoint_url**: The URL where webhook notifications will be sent
- **secret_hash**: Optional secret key for webhook authentication (will be encrypted)
**Scenario: Setting Up Document Processing Webhook**
- A developer wants to receive automatic notifications when assignment answer sheets are processed.
- They first call the webhook templates endpoint to get the template ID for 'assignment_answer_sheet_extraction'.
- They then call this endpoint with the template ID, their webhook URL, and optional secret hash.
- The system creates the webhook and returns the webhook details for future reference.
Next
List Webhooks