List organizations
Organizations you belong to, with ID, name and your role in each.
GET https://cotlet.dev/api/v1/hubstaff/organizations
read
Returns every Hubstaff organization your account belongs to, with your role in it. Run it first: the other tools take an organization ID. What your agent can do in an organization follows your role there.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/hubstaff/organizations \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("hubstaff", "list_organizations") const result = await cotlet.call('hubstaff', 'list_organizations'); cotlet call hubstaff list_organizations Example response
{
"organizations": [
{
"organization_id": 412093,
"name": "Northwind Studio",
"role": "owner"
}
]
}