Docs
Sites APIBootstrap

Group sets

Account-wide group sets plus those belonging to the website's own properties. Group ids are what the `group` filter accepts. Tag: `site`.

GET/api/sites/v1/groups

Account-wide group sets plus those belonging to the website's own properties. Group ids are what the group filter accepts. Tag: site.

Authorization

websiteToken
AuthorizationBearer <token>

A Sanctum token scoped to one website.

In: header

Header Parameters

X-Resi-Website?string

Website id. Overrides Host resolution for builds running where Host is meaningless. The token must still be scoped to this website.

If-None-Match?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/sites/v1/groups"
{  "data": [    {      "id": "string",      "key": "string",      "name": "string",      "object_type": "string",      "allows_multiple_membership": true,      "property_slug": "string",      "groups": [        {          "id": "string",          "parent_id": "string",          "label": "string",          "slug": "string",          "description": "string",          "color": "string",          "sort_order": 0        }      ]    }  ],  "meta": {    "cache": {      "tags": [        "string"      ],      "ttl": 0    }  }}