Skip to main content
GET
/
barber
/
{barberId}
/
smartGroups
/
{groupId}
/
clients
List clients in a smart group
curl --request GET \
  --url https://api.guile.app/barber/{barberId}/smartGroups/{groupId}/clients \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "givenName": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "averageAppointmentCost": "456.78",
      "averageTipAmount": "456.78",
      "state": "invited",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "surname": "<string>",
      "nickname": "<string>",
      "phoneNumber": "<string>",
      "birthDate": "<string>",
      "emailAddress": "<string>",
      "profilePhoto_URL": "<string>",
      "lastAppointmentAt": "2023-11-07T05:31:56Z",
      "nextAppointmentAt": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 1
}

Path Parameters

barberId
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

groupId
enum<string>
required
Available options:
active,
lost,
risky,
new

Response

Ok. The operation succeeded.

A list response for resources. This response contains the full result set after any filters are applied.

items
object[]
required
count
integer<int16>
required
Required range: x >= 0