Skip to main content
POST

Create Campaign SFTP Config

Configure SFTP integration for a campaign. The configuration is created in disabled state — test the connection successfully before enabling.

Endpoint

Path parameters

string
required
Campaign UUID.

Request headers

string
required
Bearer token. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json

Request body

string
required
SFTP server hostname.
integer
SFTP port. Range: 165535. Default: 22.
string
required
SFTP username.
string
required
Auth method. Options: password, private_key.
string
Required when auth_type is password.
string
Required when auth_type is private_key. PEM-encoded private key.
string
Optional passphrase for the private key.
string
Remote directory to scan for contact list imports (e.g., /inbox).
string
Remote directory where call result files are uploaded (e.g., /outbox).
string
Auto-import schedule. Options: manual, hourly, daily. Default: manual.

Examples

Response