GET
/
api
/
user
/
{user_id}
/
organization
/
list
curl --request GET \
  --url https://cite.petal.org/api/user/{user_id}/organization/list \
  --header 'Authorization: Bearer <token>'
[
  {
    "created_at": "<string>",
    "description": "<string>",
    "id": 123,
    "is_personal": true,
    "meta": {},
    "modified_at": "<string>",
    "modified_by": 123,
    "name": "<string>",
    "schema": [
      {
        "default": true,
        "description": "",
        "label": "",
        "name": "<string>",
        "type": "<string>"
      }
    ],
    "user_id": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
integer
required

The unique ID of the user

Response

200
application/json
OK
created_at
string
required

Creation time, by UTC

description
string
required

Admin-provided description of the Organization

id
integer
required

Unique ID of Organization

is_personal
boolean
required

Whether this is a personal Organization (automatically created upon user account creation)

meta
object
required

Metadata, for internal use

modified_at
string
required

Modification time, by UTC

modified_by
integer
required

Last user to modify

schema
object[]
required

Organization metadata, for internal use

name
string

Name of Organization

user_id
integer

ID of owner