Inbound Webhooks
Inbound https webhooks are a flexible and easy way to ingest data from any system that can use HTTPS.
Introduction
Inbound Webhooks in Couchdrop let applications and systems upload data directly into your storage over HTTPS.
Each Inbound Webhook provides an HTTPS endpoint that accepts POST requests and saves the uploaded content to the folder you configure. This is useful for applications, scripts, and automated systems that need to deliver files or data without using SFTP or another file transfer client.
Inbound Webhooks can receive binary files, JSON, or raw request bodies. You can also configure a bearer token to authenticate incoming requests.
How to create an Inbound Webhook
Before you start
To create an Inbound Webhook, you will need:
Access to Couchdrop with the appropriate permissions
A folder or storage location for received data
An understanding of the data your application will send
An authentication token, if you want to authenticate requests
How to upload data to an Inbound Webhook
Once created, the Inbound Webhook can receive HTTPS POST requests using its Webhook URL.
Upload a file with cURL
Use multipart form data to upload a file:
Replace:
[token]with the authentication token configured for the Webhook.[yourdomain]with the ID of your Inbound Webhook.[webhook_id]with the ID of your Inbound Webhook.
Upload a binary stream with Python
You can send a file directly in the request body and specify its filename using the filename header:
In this example:
filenamedefines the name Couchdrop uses for the uploaded file.Content-Type: application/octet-streamidentifies the request body as binary data.Authorizationsupplies the configured bearer token.
Upload JSON to a file
JSON can also be sent directly in the request body:
The Filename header tells Couchdrop what filename to use when saving the JSON content.
Settings
Additional Inbound Webhook settings can be configured during creation or after the Webhook has been created.
General webhook settings
Configure how the Webhook is identified, where uploaded files are stored, and which partner or vendor it belongs to.
Connecting Partner or Vendor
Associate the Webhook with an existing or new partner or vendor for organization. This does not affect how data is processed.
Webhook name
Sets the name used to identify the Webhook in Couchdrop.
Upload location
Selects the folder or storage location where files uploaded through the Webhook will be saved.
Expiry and notifications
Configure how long the Webhook remains active and when Couchdrop sends email notifications.
Expiry
Set the Webhook to Never Expire or expire after a specified amount of time.
Success notifications
Send an email when an upload through the Webhook succeeds.
Failure notifications
Send an email when an upload through the Webhook fails.
Custom notification recipients
Send notifications to one or more custom email addresses using a comma-separated list.
Access and Security
Configure authentication and restrict which networks can send data to the Webhook.
Bearer token
Optionally configure or generate a bearer token that clients must provide when uploading data.
Allowed Sender IPs
Restrict requests to approved IP addresses or CIDR ranges.
Transfer Shield
Define the type of content you expect to receive and apply controls to files that do not match those expectations.
Enable Content Classification
Classifies files uploaded through the Webhook using Couchdrop's DLP engine.
Block unclassified files
Denies a file if Transfer Shield cannot classify it for any reason.
Content Rule Groups
Apply a selected content rule group, such as Detect Malware & Executables, to files uploaded through the Webhook.
Frequently asked questions
Last updated
Was this helpful?