How to Get Webhook Access
To get webhook access:- Go to the Webhook Access page in your Feedspace account.
- Enter your webhook endpoint URL in the provided input field.
- After adding your endpoint URL, you can select which events you want to receive notifications for.
- Click the “Activate” button to enable webhook access for your account.
Available Webhook Events
Feedspace currently supports the following webhook events:feed.text.received: Triggered when a new text review is receivedfeed.video.received: Triggered when a new video review is receivedfeed.audio.received: Triggered when a new audio review is received
Webhook Delivery
Feedspace will send webhook notifications as HTTP POST requests to your specified webhook URL. Each notification follows this format:type: The event type (e.g., “feed.text.received”, “feed.video.received”, “feed.audio.received”)data: The event-specific data payload
Example Request
When a new text review is received, Feedspace will send a POST request to your webhook URL with a payload like this:Verify Webhook Signature
To ensure the integrity and authenticity of incoming webhook requests, Feedspace signs each payload with a unique secret. We strongly recommend verifying this signature for all production webhooks.How It Works
-
The Signature Headers: Feedspace sends two headers with each webhook request:
x-feedspace-signature: The HMAC-SHA256 signature of the payload.x-feedspace-timestamp: The Unix timestamp (in seconds) when the webhook was sent
-
Your Signing Secret: Each webhook in your workspace has a unique signing secret. You can find this secret in your Feedspace dashboard under Automation > Webhook. Secrets are prefixed with
whsec_. -
Verification Process: You reconstruct the signature on your server using the timestamp, the raw request body, and your secret. If it matches the
x-feedspace-signatureheader, the webhook is legitimate.
Sample Verification Code
Best Practices
- Implement proper error handling for incoming webhook requests
- Consider implementing request validation to verify the authenticity of webhook requests
- Handle different event types appropriately in your application
- Keep your webhook endpoint URL secure and accessible