Get Active Organization
cURL
curl --request GET \
--url https://api.openworklabs.com/v1/org
Response
- 200
- 401
- 404
{
"organization": {
"owner": {
"memberId": "<string>",
"userId": "<string>",
"name": "<string>",
"email": "jsmith@example.com",
"image": "<string>"
}
},
"currentMember": {},
"currentMemberTeams": [
{}
]
}
Documentation Index
Fetch the complete documentation index at: https://openworklabs.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Responses
200: application/json
- Organization context returned successfully.
currentMember: object (required)
currentMemberTeams: object[] (required)
{key}: any