Create Webhook
Webhooks
Create Webhook
POST
Create Webhook
Creates a new webhook configuration for receiving event notifications.
Overview
Create a webhook to receive real-time HTTP notifications when events occur in your InstaView account. The signing secret is returned only once during creation—store it securely.Authentication
Bearer token with
write:webhooks scopeRequest Body
The HTTPS endpoint URL to receive webhook notifications. Maximum 2048 characters.
Array of event type strings to subscribe to:
"ANALYSIS_COMPLETED"- Analysis finished successfully"ANALYSIS_FAILED"- Analysis processing failed"PING"- Test event for connectivity"INTERVIEW_COMPLETED"- Interview finished with analysis"INTERVIEW_FAILED"- Technical failure during interview"INTERVIEW_STARTED"- Interview session began"SOURCING_COMPLETED"- Sourcing run finished with scored candidates"SOURCING_FAILED"- Sourcing run terminated with an error"ENRICH_COMPLETED"- Enrichment run completed"ENRICH_FAILED"- Enrichment run terminated with an error
Human-readable name for the webhook. Maximum 255 characters.
Description of what this webhook is used for.
Company ID to associate this webhook with. If omitted, webhook will receive events for all companies accessible by the API key. Useful for ATS integrations managing multiple companies with different subdomains.
Custom headers to include in webhook requests. Maximum 50 headers.Each header object:
name(string, required): Header name (1-255 characters)value(string, required): Header value (1-4096 characters)
Response
Returns the created webhook configuration with the signing secret.Unique identifier for the webhook
HMAC signing secret for verifying webhook signatures (hex-encoded, 64 characters)
The endpoint URL
Array of subscribed event type labels
Whether the webhook is active (always
true for new webhooks)Example Request
Example Response
Error Responses
400 - Validation Error
400 - Validation Error
403 - Insufficient Permissions
403 - Insufficient Permissions
Best Practices
- Store the signing secret immediately - It’s only returned once
- Include the ping event for testing - You can remove it later
- Use HTTPS endpoints - HTTP is only allowed for localhost
- Add authentication headers - Protect your webhook endpoint
Related
Webhooks Guide
Learn about signature verification and payloads
Test Webhook
Test your webhook endpoint