Python
import requests url = "https://platform.ankra.app/api/v1/org/organisation/{organisation_id}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "organisation_id": "<string>", "users": [ { "id": "<string>", "invite_id": "<string>", "email": "[email protected]", "status": "<string>", "role": "member", "user_current": true } ], "name": "<string>", "created_at": "<unknown>", "updated_at": "<unknown>", "user_current": false, "auto_upgrade_agent": false, "proactive_ai_insights_enabled": false, "user_is_admin": false }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Organisation retrieved successfully
Show child attributes