Skip to main content
GET
/
v1
/
groups
/
count
Count groups
curl --request GET \
  --url https://api.prod.getdex.com/v1/groups/count \
  --header 'Authorization: Bearer <token>'
{
  "error": true,
  "data": {
    "count": 123
  }
}

Use cases

  • Display a group count on a dashboard
  • Check how many groups a user has for plan limit enforcement
  • Monitor group usage over time

Authorizations

Authorization
string
header
required

Use your Dex API key (e.g. dex_abc123...) as the Bearer token.

Query Parameters

where
object

Response

Successful response

error
boolean
required
data
object
required