Organizations
Get configs
Get quorum settings and features for an organization.
POST
https://api.0xkey.io
/
public
/
v1
/
query
/
get_organization_configs
Get configs
curl --request POST \
--url https://api.0xkey.io/public/v1/query/get_organization_configs \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '
{
"organizationId": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Stamp': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: '<string>'})
};
fetch('https://api.0xkey.io/public/v1/query/get_organization_configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.0xkey.io/public/v1/query/get_organization_configs"
payload = { "organizationId": "<string>" }
headers = {
"X-Stamp": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"configs": {
"features": [
{
"name": "FEATURE_NAME_UNSPECIFIED",
"value": "<string>"
}
],
"quorum": {
"threshold": 123,
"userIds": [
"<string>"
]
}
}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Previous
Get sub-organizationsGet all suborg IDs associated given a parent org ID and an optional filter.
Next
⌘I
Get configs
curl --request POST \
--url https://api.0xkey.io/public/v1/query/get_organization_configs \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '
{
"organizationId": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Stamp': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: '<string>'})
};
fetch('https://api.0xkey.io/public/v1/query/get_organization_configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.0xkey.io/public/v1/query/get_organization_configs"
payload = { "organizationId": "<string>" }
headers = {
"X-Stamp": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"configs": {
"features": [
{
"name": "FEATURE_NAME_UNSPECIFIED",
"value": "<string>"
}
],
"quorum": {
"threshold": 123,
"userIds": [
"<string>"
]
}
}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}