Groups and Sections
Get Sections
Get all the sections for an organization.
For more information about the group system, see the Groups and Sections description.
get/sections
Query parameters
pageinteger
Page number. Starts at 1. Any value lower than 1 will be considered as 1. For the number of items per page, see the per_page query parameter.
org_idinteger
Filter by organization ID. Only PROVIDER users can use this filter. If you are not a PROVIDER, this will default to the ID of your organization.
group_name_querystring
Filter sections to only those containing at least one group whose name contains this value (case-insensitive substring match).
Response
OK
Example response
{
"page": 1,
"count": 6,
"max_page": 1,
"sections": [
{
"id": 1,
"name": "Country"
}
]
}