version 8.3.8

Back | 

WsFtpAccount

Returns FTP Account credentials for a Client

URL Format

/ws/WsFtpAccount/api/{app_token}/mode/json/apiv/5?user_token={user_token}

Parameters

Name Req Type Description
apiv integer The api version; only version 5 supported.
app_token string The api token for the given account. You can find the api token when navigating through account->api accounts.
user_token string The user token of the user trying to access the account.

Request Headers

Name

Possible Responses

  • 102 Invalid app token
  • 101 Invalid client token.
  • 722 Invalid User

Example Response

{
  "response": {
    "success": {
      "code": 1216,
      "message": "Ftp account found",
      "details": ""
    },
    "WsFtpAccountResponse": {
      "ftpaccount": [
        {
          "host": "FTPHOST",
          "username": "FTPUSERNAME",
          "password": "FTPPASSWORD"
        }
      ]
    }
  }
}