Skip to main content

Get group

GET 

https://us.east1.api.komodowellbeing.com/rest/v1/groups/:group_id

Get a group in the current organisation

Request

Path Parameters

    group_id numberrequired

    The ID of the group

Responses

OK

Schema
    idnumber

    The group's ID in Komodo Wellbeing

    namestring

    The name of the group

    typestring

    The group's type

    Possible values: [REGISTRATION, YEAR, HOUSE, BOARDING, COURSE, MISC, USER, CAMPUS]

    created_atdate-time

    When the group was created

Authorization: x-api-key

name: x-api-keytype: apiKeyin: header
name: BearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://us.east1.api.komodowellbeing.com/rest/v1/groups/:group_id");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("x-api-key", "<x-api-key>");
request.Headers.Add("Authorization", "Bearer <x-api-key>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://us.east1.api.komodowellbeing.com/rest/v1
Auth
Parameters
— pathrequired