Skip to content

Get an organization

GET
/api/orgs/{org}
curl --request GET \
--url https://api-dev.wrktr.com/api/orgs/example \
--header 'Authorization: Bearer <token>'

Its slug and name, whether it’s someone’s personal one, and your role in it.

org
required
string

OrgInfo

Media typeapplication/json
object
slug
required
string
name
required
string
personal
required
boolean
role
required
string
Allowed values: owner member
Example
{
"role": "owner"
}

Unauthorized

Media typeapplication/json
object
_tag
required
string
Allowed values: Unauthorized
message
required
string
Example
{
"_tag": "Unauthorized"
}

OrgNotFound

Media typeapplication/json
object
_tag
required
string
Allowed values: OrgNotFound
org
required
string
Example
{
"_tag": "OrgNotFound"
}