---
title: "Get SFTP Account"
method: GET
path: "/v0/sftp-accounts/{sftp-account-id}"
tags: ["SFTP Accounts"]
---

# Get SFTP Account

`GET /v0/sftp-accounts/{sftp-account-id}`

Get a specific SFTP Account.

## Path parameters

- `sftp-account-id` integer, required

## Response `200`

The request has succeeded.

- SftpAccountResource
  - `name` string — The name of the SFTP Account
  - `host` string — The SFTP server host address
  - `port` integer — The SFTP server port number (defaults to 22)
  - `username` string — The user that should be used to connect to the SFTP server
  - `id` integer
  - `has_password` boolean
  - `has_ssh_private_key` boolean

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/oneschema/apis/templates.md) · [All operations](https://skmtc.net/oneschema/apis/templates/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneschema/templates/revisions/40674aa6d4d9/schema)
