Get account info
- Description:
- Return information of selected account
- Endpoint:
https://api.softbook.app/account/v1/
- HTTP Method:
- GET
- Requires authentication:
- true
- Parameters:
-
* indicates requirement. Highlighted params include in URL.
Variable Type Description api_key
*string Your API key account_id
*int Your account ID
PHP request example
$array_params = array(
"api_key" => "YOUR_API_KEY",
"account_id" => YOUR_ACCOUNT_ID
);
$params = http_build_query($array_params, '', '&');
$url = "https://api.softbook.app/account/v1?".$params;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, false);
$result = curl_exec($ch);
curl_close($ch);