Get SFTP credentials
curl --request GET \
--url https://api.storiza.store/apps/{id}/sftp \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/sftp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/sftp"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "SFTP credentials",
"data": {
"username": "<string>",
"password": "<string>",
"host": "<string>",
"port": 123,
"enabled": true
}
}App files
Get SFTP credentials
The app’s SFTP username, password, host and port. Returns password: null when SFTP is disabled for the app — enable it to mint one.
Required API key permission: apps:read
GET
/
apps
/
{id}
/
sftp
Get SFTP credentials
curl --request GET \
--url https://api.storiza.store/apps/{id}/sftp \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/sftp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/sftp"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "SFTP credentials",
"data": {
"username": "<string>",
"password": "<string>",
"host": "<string>",
"port": 123,
"enabled": true
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Minimum string length:
1Was this page helpful?