List all Orgs

get
https://api.underdogprotocol.com
/v2/orgs
List all Orgs
Parameters
Query
page
number
limit
number
Responses
200: OK
Returns a paginated list of Orgs
401: Unauthorized
Unauthorized

Example

cURL
JavaScript
curl --location --request GET 'https://dev.underdogprotocol.com/v2/orgs' \
--header 'Authorization: Bearer {token}'
const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/orgs',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Response
{
"results": [
{
"id": 1,
"superAdminAddress": "EBeLw5jEdrEgDe17BdKGW2MizzGxtxigEuAGvYC7VzDp",
"status": "confirmed",
"network": "DEVNET"
}
],
"page": 1,
"limit": 10,
"totalPages": 1,
"totalResults": 1
}