GET
/
company-memberships
curl --request GET \
  --url https://api.schematichq.com/company-memberships \
  --header 'X-Schematic-Api-Key: <api-key>'
{
  "data": [
    {
      "company": {
        "created_at": "2023-11-07T05:31:56Z",
        "environment_id": "<string>",
        "id": "<string>",
        "last_seen_at": "2023-11-07T05:31:56Z",
        "logo_url": "<string>",
        "name": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "company_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "user_id": "<string>"
    }
  ],
  "params": {
    "company_id": "<string>",
    "limit": "100",
    "offset": "0",
    "user_id": "<string>"
  }
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Query Parameters

company_id
string
user_id
string
limit
integer

Page limit (default 100)

offset
integer

Page offset (default 0)

Response

200 - application/json
data
object[]
required

The returned resources

params
object
required

Input parameters