List all Orgs
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagenumber · nullableOptional
limitnumber · max: 100 · nullableOptional
Responses
200
Returns a paginated list of Orgs
application/json
401
Unauthorized
application/json
get
/v2/orgsExample
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);
});
Last updated