PATCH - Webhook
This API allows authenticated users to update an existing webhook configuration. Only the endpoint URL and secret hash can be modified - the API template and other core settings remain unchanged.
Key Notes:
- Requires authentication and ownership of the webhook (created by the authenticated user).
- Only
endpoint_urlandsecret_hashfields can be updated. - The API template ID cannot be changed after webhook creation.
- Returns the updated webhook details after successful modification.
Updatable Fields:
- endpoint_url: The URL where webhook notifications will be sent (required)
- secret_hash: Optional secret key for webhook authentication (will be encrypted)
Non-Updatable Fields:
- api_template: Cannot be changed after webhook creation
- status: Managed separately by the system
- created_by: Immutable field
Scenario: Updating Webhook Configuration
- A developer needs to change their webhook endpoint URL due to server migration.
- They call this endpoint with the webhook ID and new endpoint URL.
- They can also update the secret hash if they want to change authentication.
- The system updates the webhook and returns the modified configuration.
- This is useful for maintaining webhook functionality during infrastructure changes.
PATCH
Update Webhook
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the webhook to update.
Body
application/json
Response
Webhook updated successfully.
Previous
POST - Class Track Analysis This API enables authenticated users to **submit class-level audio recordings** for comprehensive AI-powered analysis and evaluation using CrazyGoldFish AI technology. The endpoint performs thorough validation of audio links, securely stores educational metadata, and initiates a processing workflow for transcript generation and rubric-based AI evaluation.
For metadata ID references, please consult the [Metadata API Documentation](https://docs.crazygoldfish.com/api-reference/endpoint/metadata/boards).
**Key Capabilities:**
- **Secure Audio Validation**: Accepts only publicly accessible HTTPS URLs pointing to .mp3 audio files
- **Comprehensive Metadata Management**: Captures and stores institutional, teacher, board, grade, subject, and rubric information
- **Flexible Rubric Integration**: Supports both UUID and integer-based rubric identifier formats
**Typical Use Case: Submitting a Classroom Recording for AI Analysis**
- An educator uploads a classroom recording to a public cloud storage service and obtains a secure HTTPS URL
- The teacher submits the audio URL along with comprehensive class metadata including board, grade, subject, and rubric details
- The system performs rigorous validation of both URL format and metadata completeness before initiating processing
- Upon successful validation, the system returns a unique analysis identifier for tracking the evaluation progress
<Warning> Only publicly accessible HTTPS URLs ending with .mp3 file extensions are accepted. Private URLs, non-HTTPS links, or unsupported file formats will result in validation errors and request rejection. </Warning>
Next
Update Webhook