younifyd
Menu

Count User Groups

Count User Groups

GET/api/v2/users/{user_id}/groups/count

Use it in a workflow

  1. Add a step and choose the Zendesk connector.
  2. Pick the Count User Groups action (under Groups).
  3. Fill in the fields below, then reference the result from later steps as {{countUserGroups.response.data}}.

Request

Path parameters

user_idinteger (int64)required

The id of the user

Response

Returns 200 with an object. Read it in later steps with {{countUserGroups.response.data.<field>}}.

countobject
refreshed_atstring (date-time)

Timestamp that indicates when the count was last updated

valueinteger

Approximate count of groups

json
{
  "count": {
    "refreshed_at": "2025-01-01T00:00:00Z",
    "value": 0
  }
}

Need more? See the Zendesk guide for connection setup and behaviour shared by every action.

Was this page helpful?