Get Account by ID
curl --request GET \
--url https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}import requests
url = "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"accountId": "bin11066zbf15owuxn9ohrvg",
"accountName": "Default vault",
"accountType": "vault",
"createdAt": "1742572023000",
"externalId": "aqm4857o9fvc1iyjm3vi72es",
"status": "active",
"workspaceId": "liya1seswlrlydfpy5xzulsz",
"createdBy": "htp1jwoa1qk8m8cw2dc8th4z",
"extra": {
"onlyAddressBookWithdrawals": true
},
"icon": "emoji:🚀",
"isTestnet": true,
"parentAccountId": "<string>",
"updatedAt": "1742572023000"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Get Account by ID
API Key permissions: View only, Transaction Operator, Full Access, MPC Hot Signer
GET
/
workspaces
/
{workspaceId}
/
accounts
/
{accountId}
Get Account by ID
curl --request GET \
--url https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}import requests
url = "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/accounts/{accountId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"accountId": "bin11066zbf15owuxn9ohrvg",
"accountName": "Default vault",
"accountType": "vault",
"createdAt": "1742572023000",
"externalId": "aqm4857o9fvc1iyjm3vi72es",
"status": "active",
"workspaceId": "liya1seswlrlydfpy5xzulsz",
"createdBy": "htp1jwoa1qk8m8cw2dc8th4z",
"extra": {
"onlyAddressBookWithdrawals": true
},
"icon": "emoji:🚀",
"isTestnet": true,
"parentAccountId": "<string>",
"updatedAt": "1742572023000"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Response
OK
Example:
"bin11066zbf15owuxn9ohrvg"
Example:
"Default vault"
Available options:
vault Example:
"1742572023000"
Unique external ID for the account
Example:
"aqm4857o9fvc1iyjm3vi72es"
Available options:
active, archived, shard-generating, error-on-generating Example:
"liya1seswlrlydfpy5xzulsz"
Example:
"htp1jwoa1qk8m8cw2dc8th4z"
Account extra data
Show child attributes
Show child attributes
Account icon: image path (e.g. 'accounts/logos/abc.png') or 'emoji:' (e.g. 'emoji:🚀')
Example:
"emoji:🚀"
Flag to indicate if the account is a testnet account
Parent account ID
Example:
"1742572023000"
Was this page helpful?
