curl --request GET \
--url https://davinci-app.com/api/v2/orgs \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/orgs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/orgs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/orgs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"orgs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"handle": "<string>",
"handleType": "<string>",
"description": "<string>",
"tier": "<string>",
"visibility": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isFrozen": true,
"isTeamOwned": true,
"handleVerifiedAt": "2023-11-07T05:31:56Z",
"memberCount": 1,
"joinedAt": "2023-11-07T05:31:56Z",
"role": "<string>",
"roleName": "<string>",
"ownedProjectCount": 1,
"maxOwnedProjects": 1
}
]
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}List accessible organizations
Returns organizations the caller belongs to, plus tenant organizations
visible through an assigned tenant role. This read-only discovery route
supplies the orgId required by team operations; organization membership
and administration remain browser-only.
curl --request GET \
--url https://davinci-app.com/api/v2/orgs \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/orgs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/orgs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/orgs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"orgs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"handle": "<string>",
"handleType": "<string>",
"description": "<string>",
"tier": "<string>",
"visibility": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isFrozen": true,
"isTeamOwned": true,
"handleVerifiedAt": "2023-11-07T05:31:56Z",
"memberCount": 1,
"joinedAt": "2023-11-07T05:31:56Z",
"role": "<string>",
"roleName": "<string>",
"ownedProjectCount": 1,
"maxOwnedProjects": 1
}
]
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Authorizations
Personal access token. The scopes granted at issuance determine both which
operations the key may call and the ceiling on the resource permissions it
can exercise. Each scope family is a ladder: projects:manage implies
projects:write and projects:read; cards:manage implies cards:write
and cards:read; and teams:manage implies teams:write and teams:read.
These are named API capability bundles, not blanket domain roles:
manage exposes only the permissions enumerated for that scope and never
bypasses the acting user's current role-based access.
Response
Organizations available to the caller.
Hide child attributes
Hide child attributes
x >= 0x >= 0x >= 0