---
title: "Get SFTP credentials for Space"
method: GET
path: "/auth/sftp-credentials"
tags: ["auth"]
---

# Get SFTP credentials for Space

`GET /auth/sftp-credentials`

## Query parameters

- `spaceId` string, required — Space ID

## Headers

- `Authorization` string, required
- `X-Disable-Hooks` 'true', required

## Response `200`

Response with status 200

- TypeAuthSftpCredentials — Credentials being used to login to SFTP with host and port
  - `username` string, required
  - `password` string, required
  - `host` string, required
  - `port` string, required

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404

---

[API](https://skmtc.net/flatfile/apis/api-reference.md) · [All operations](https://skmtc.net/flatfile/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flatfile/api-reference/revisions/9d3a9979cd96/schema)
