POST
/v1/delivery?squid={squid_hash}Configure SFTP Delivery
Set up secure SFTP server delivery for squid run resultsConfigure SFTP delivery to securely store run results on your own SFTP server. Results will be automatically uploaded to your specified server and directory when runs complete.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
ftp_fields.hoststring
RequiredExample: sftp.example.com
ftp_fields.portinteger
RequiredExample: 22
ftp_fields.usernamestring
RequiredExample: user
ftp_fields.passwordstring
RequiredExample: myC00lP@ssword
ftp_fields.directorystring
RequiredExample: /upload/path
ftp_fields.is_activeboolean
RequiredExample: true
Response Field Explanations
ftp_fields.host
string
Example: sftp.example.com
ftp_fields.port
integer
Example: 22
ftp_fields.username
string
Example: user
ftp_fields.password
string
Example: myC00lP@ssword
ftp_fields.directory
string
Example: /upload/path
ftp_fields.is_active
boolean
Example: true
Parameters
squidstring
RequiredExample:
c106a44a98044ef18acc59986ae10967Warning
Ensure your SFTP server is accessible from lobstr.io's servers. Check firewall rules and IP allowlists if connection fails.
Pro Tip
Use the Test SFTP endpoint to verify your credentials and server connectivity before activating automatic delivery.
Note
The directory path must exist on the server. Lobstr will not create directories automatically.
Warning
Store SFTP credentials securely. While they're returned in API responses, treat them as sensitive data.
Pro Tip
Set is_active to false to temporarily disable SFTP delivery without removing your configuration.