Skip to main content
GET
/
v1
/
search
/
groups
Search groups
curl --request GET \
  --url https://api.prod.getdex.com/v1/search/groups \
  --header 'Authorization: Bearer <token>'
{
  "error": true,
  "data": {
    "items": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "color": "<string>",
        "parent_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "nextCursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "count": 123
  }
}

Use cases

  • Power a global search bar that includes group results
  • Find groups matching a keyword
  • Build a search experience for quickly navigating to a group

Authorizations

Authorization
string
header
required

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

Query Parameters

searchQuery
string
take
integer
Required range: x >= 1
cursor
string

Response

Successful response

error
boolean
required
data
object
required