Skip to main content
GET
/
headless
/
sftp
/
credentials
/
{id}
Retrieve SFTP credentials
curl --request GET \
  --url https://app.dromo.io/api/v1/headless/sftp/credentials/{id}/ \
  --header 'X-Dromo-License-Key: <api-key>'
{
  "hostname": "sftp.example.com",
  "port": 22,
  "user": "sftpuser",
  "auth_type": "PASSWORD",
  "id": "ee5d0e45-b098-47bc-8217-e93790243dfa",
  "key_fingerprint": "SHA256:abc123..."
}

Authorizations

X-Dromo-License-Key
string
header
required

This backend API key is different than your frontend license key. Please use the "Backend" license key from your Dromo Dashboard.

Path Parameters

id
string<uuid>
required

SFTP credentials ID

Example:

"ee5d0e45-b098-47bc-8217-e93790243dfa"

Response

SFTP credentials details

hostname
string
required
Example:

"sftp.example.com"

port
integer
required
Example:

22

user
string
required
Example:

"sftpuser"

auth_type
enum<string>
required
Available options:
PASSWORD,
KEY
Example:

"PASSWORD"

id
string<uuid>
Example:

"ee5d0e45-b098-47bc-8217-e93790243dfa"

key_fingerprint
string | null
Example:

"SHA256:abc123..."