Skip to main content
GET
/
sites
/
environments
/
{env_id}
/
ssh
/
password
Get SFTP/SSH password
curl --request GET \
  --url https://api.kinsta.com/v2/sites/environments/{env_id}/ssh/password \
  --header 'Authorization: Bearer <token>'
{
  "environment": {
    "id": "<string>",
    "sftp_password": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully found SFTP config

environment
object
required