Skip to main content
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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

campaign_id
string
required
Campaign UUID.

Request Headers

Authorization
string
required
Bearer token. Format: Bearer talq_your_environment_token_here

Examples

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 password or private_key is never returned.
  • A new SFTP config starts disabled — run Test SFTP Connection successfully before enabling it.