Create Address Book record
curl --request POST \
--url https://api.bron.org/workspaces/{workspaceId}/address-book-records \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"name": "<string>",
"accountIds": [
"<string>"
],
"address": "<string>",
"email": "<string>",
"imageId": "<string>",
"isFavorite": true,
"labels": "Personal,Business",
"memo": "<string>",
"networkId": "<string>",
"note": "<string>",
"tag": "<string>"
}
'import requests
url = "https://api.bron.org/workspaces/{workspaceId}/address-book-records"
payload = {
"externalId": "<string>",
"name": "<string>",
"accountIds": ["<string>"],
"address": "<string>",
"email": "<string>",
"imageId": "<string>",
"isFavorite": True,
"labels": "Personal,Business",
"memo": "<string>",
"networkId": "<string>",
"note": "<string>",
"tag": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
externalId: '<string>',
name: '<string>',
accountIds: ['<string>'],
address: '<string>',
email: '<string>',
imageId: '<string>',
isFavorite: true,
labels: 'Personal,Business',
memo: '<string>',
networkId: '<string>',
note: '<string>',
tag: '<string>'
})
};
fetch('https://api.bron.org/workspaces/{workspaceId}/address-book-records', 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}/address-book-records",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'externalId' => '<string>',
'name' => '<string>',
'accountIds' => [
'<string>'
],
'address' => '<string>',
'email' => '<string>',
'imageId' => '<string>',
'isFavorite' => true,
'labels' => 'Personal,Business',
'memo' => '<string>',
'networkId' => '<string>',
'note' => '<string>',
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/address-book-records"
payload := strings.NewReader("{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bron.org/workspaces/{workspaceId}/address-book-records")
.header("Content-Type", "application/json")
.body("{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/address-book-records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"createdAt": "1749646207296",
"externalId": "ki50iq4iotxmuv1ihgw9q6u3",
"name": "My address",
"recordId": "gx8df95a09h319dbu79rfora",
"recordType": "address",
"status": "new",
"workspaceId": "e191u51yxnykins6fahd",
"accountIds": [
"<string>"
],
"activatedAt": "1749646207296",
"address": "TKAduQVqNaTLyBzVvRrcctY6FFraowJ3Uc",
"createdBy": "e191u51yxnykins6fahdizxy",
"email": "<string>",
"imageId": "<string>",
"isFavorite": true,
"labels": "Personal,Business",
"lastUsedAt": "1749646207296",
"memo": "<string>",
"networkId": "BTC",
"note": "<string>",
"tag": "$myworkspace",
"updatedAt": "1749646207296",
"updatedBy": "e191u51yxnykins6fahdizxy"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Create Address Book record
Save a crypto address in an workspace’s address book
API Key permissions: Transaction Operator, Full AccessPOST
/
workspaces
/
{workspaceId}
/
address-book-records
Create Address Book record
curl --request POST \
--url https://api.bron.org/workspaces/{workspaceId}/address-book-records \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"name": "<string>",
"accountIds": [
"<string>"
],
"address": "<string>",
"email": "<string>",
"imageId": "<string>",
"isFavorite": true,
"labels": "Personal,Business",
"memo": "<string>",
"networkId": "<string>",
"note": "<string>",
"tag": "<string>"
}
'import requests
url = "https://api.bron.org/workspaces/{workspaceId}/address-book-records"
payload = {
"externalId": "<string>",
"name": "<string>",
"accountIds": ["<string>"],
"address": "<string>",
"email": "<string>",
"imageId": "<string>",
"isFavorite": True,
"labels": "Personal,Business",
"memo": "<string>",
"networkId": "<string>",
"note": "<string>",
"tag": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
externalId: '<string>',
name: '<string>',
accountIds: ['<string>'],
address: '<string>',
email: '<string>',
imageId: '<string>',
isFavorite: true,
labels: 'Personal,Business',
memo: '<string>',
networkId: '<string>',
note: '<string>',
tag: '<string>'
})
};
fetch('https://api.bron.org/workspaces/{workspaceId}/address-book-records', 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}/address-book-records",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'externalId' => '<string>',
'name' => '<string>',
'accountIds' => [
'<string>'
],
'address' => '<string>',
'email' => '<string>',
'imageId' => '<string>',
'isFavorite' => true,
'labels' => 'Personal,Business',
'memo' => '<string>',
'networkId' => '<string>',
'note' => '<string>',
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/address-book-records"
payload := strings.NewReader("{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bron.org/workspaces/{workspaceId}/address-book-records")
.header("Content-Type", "application/json")
.body("{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/address-book-records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"externalId\": \"<string>\",\n \"name\": \"<string>\",\n \"accountIds\": [\n \"<string>\"\n ],\n \"address\": \"<string>\",\n \"email\": \"<string>\",\n \"imageId\": \"<string>\",\n \"isFavorite\": true,\n \"labels\": \"Personal,Business\",\n \"memo\": \"<string>\",\n \"networkId\": \"<string>\",\n \"note\": \"<string>\",\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"createdAt": "1749646207296",
"externalId": "ki50iq4iotxmuv1ihgw9q6u3",
"name": "My address",
"recordId": "gx8df95a09h319dbu79rfora",
"recordType": "address",
"status": "new",
"workspaceId": "e191u51yxnykins6fahd",
"accountIds": [
"<string>"
],
"activatedAt": "1749646207296",
"address": "TKAduQVqNaTLyBzVvRrcctY6FFraowJ3Uc",
"createdBy": "e191u51yxnykins6fahdizxy",
"email": "<string>",
"imageId": "<string>",
"isFavorite": true,
"labels": "Personal,Business",
"lastUsedAt": "1749646207296",
"memo": "<string>",
"networkId": "BTC",
"note": "<string>",
"tag": "$myworkspace",
"updatedAt": "1749646207296",
"updatedBy": "e191u51yxnykins6fahdizxy"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Body
application/json
Response
OK
Record type: address, tag, or bank. See details
Available options:
address, tag, bank Available options:
new, active, rejected, deleted Was this page helpful?