curl "https://app.talkover.ai/api/v1/campaigns/campaign-uuid/sftp" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"id": "sftp-config-uuid-1",
"campaign_id": "campaign-uuid",
"host": "sftp.example.com",
"port": 22,
"username": "campaigns_user",
"auth_type": "password",
"import_path": "/inbox",
"export_path": "/outbox",
"import_schedule": "daily",
"is_enabled": false,
"last_test_at": "2024-01-10T14:30:00Z",
"last_test_success": true,
"created_at": "2024-01-01T10:00:00Z"
}
}
Campaign SFTP
Get Campaign SFTP Config
Retrieve a campaign’s SFTP integration configuration
GET
/
api
/
v1
/
campaigns
/
{campaign_id}
/
sftp
curl "https://app.talkover.ai/api/v1/campaigns/campaign-uuid/sftp" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"id": "sftp-config-uuid-1",
"campaign_id": "campaign-uuid",
"host": "sftp.example.com",
"port": 22,
"username": "campaigns_user",
"auth_type": "password",
"import_path": "/inbox",
"export_path": "/outbox",
"import_schedule": "daily",
"is_enabled": false,
"last_test_at": "2024-01-10T14:30:00Z",
"last_test_success": true,
"created_at": "2024-01-01T10:00:00Z"
}
}
Get Campaign SFTP Config
Retrieve the SFTP integration configuration for a campaign. Campaign SFTP lets you import contact lists from a remote SFTP server and export call results back.Endpoint
GET /api/v1/campaigns/{campaign_id}/sftp
Path parameters
string
required
Campaign UUID.
Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_hereExamples
curl "https://app.talkover.ai/api/v1/campaigns/campaign-uuid/sftp" \
-H "Authorization: Bearer talq_your_environment_token_here"
Response
{
"success": true,
"data": {
"id": "sftp-config-uuid-1",
"campaign_id": "campaign-uuid",
"host": "sftp.example.com",
"port": 22,
"username": "campaigns_user",
"auth_type": "password",
"import_path": "/inbox",
"export_path": "/outbox",
"import_schedule": "daily",
"is_enabled": false,
"last_test_at": "2024-01-10T14:30:00Z",
"last_test_success": true,
"created_at": "2024-01-01T10:00:00Z"
}
}
Notes
- The configured
passwordorprivate_keyis never returned. - A new SFTP config starts disabled — run Test SFTP Connection successfully before enabling it.
Was this page helpful?