Remotehost Docs
API ReferenceOrganizations

Find one of your organizations by slug

GET
/me/orgs/{slug}

Resolves a slug, current or old, among the organizations the caller belongs to. Anything else, including an organization that exists but the caller is not in, is the same 404, so the answer never says whether an organization exists. An API key resolves its own organization only. Address the organization by org.id from here on.

Authorization

bearerAuth
AuthorizationBearer <token>

A RemoteHost API key (rh_sk_...) or a user session token.

In: header

Path Parameters

slug*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/me/orgs/string"
{  "role": "owner",  "org": {    "id": "string",    "name": "string",    "slug": "acme",    "plan": "none",    "onboarded_at": "string",    "created_at": "string",    "updated_at": "string"  },  "viaAlias": true}