Get current organisation
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prudra.dev/organisations/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/organisations/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.prudra.dev/organisations/current \
--header 'Authorization: Bearer <token>'{}Organisation
Get current organisation
GET
/
organisations
/
current
Get current organisation
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prudra.dev/organisations/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/organisations/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.prudra.dev/organisations/current \
--header 'Authorization: Bearer <token>'{}Authorizations
Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys
Response
200 - application/json
Organisation
The response is of type object.

