GET
/
org
curl --request GET \
  --url https:/api.schedo.dev/api/org
{
  "clerk_id": "<string>",
  "edges": {
    "api_keys": [
      {
        "created_at": "<string>",
        "edges": {},
        "environment_id": 123,
        "id": 123,
        "internal": true,
        "key": "<string>",
        "name": "<string>",
        "organization_id": 123,
        "revoked": true
      }
    ]
  },
  "emails": [
    "<string>"
  ],
  "id": 123,
  "name": "<string>",
  "single_user_org": true
}

Response

200 - application/json
OK
clerk_id
string

External Clerk organization ID

edges
object

Edges holds the relations/edges for other nodes in the graph. The values are being populated by the OrgQuery when eager-loading is set.

emails
string[]

List of organization emails

id
integer

ID of the ent.

name
string

Organization name

single_user_org
boolean

SingleUserOrg holds the value of the "single_user_org" field.