Skip to content
UneeqUneeqUneeq Docs

List teams

GET
/external/v1/organization/{organizationID}/teams/page/{page}/limit/{limit}
curl --request GET \
--url "$UNEEQ_API_URL/external/v1/organization/$UNEEQ_ORG_ID/teams/page/1/limit/25" \
--header "Authorization: Bearer $UNEEQ_API_KEY"

Returns one page of the organization’s live teams, sorted by name (case-insensitive, ascending). records is the total number of matching teams across all pages. A page past the last one returns records: 0 and an empty teams array, so read records from a page that has results.

organizationID
required
string

ID of the organization the API key belongs to, for example org_HYPCX67vaupjhdTn.

Example

org_HYPCX67vaupjhdTn
page
required
integer
>= 1 <= 100000

1-based page number. Send a plain decimal integer: a leading 0 is read as octal (010 is 8) and a 0x prefix as hexadecimal.

Example

1
limit
required
integer
>= 1 <= 100

Teams per page. Send a plain decimal integer: a leading 0 is read as octal (010 is 8) and a 0x prefix as hexadecimal.

Example

25
search
string

Case-insensitive substring matched against the team name or description. Omit or leave empty to return all teams.

tags
deprecated
string

Deprecated and ignored: teams no longer carry tags, so results are never filtered by tag. Accepted so older integrations keep working.

A page of teams.

Media typeapplication/json
object
records
required

Total number of matching teams across all pages; 0 when the requested page has no results.

integer
teams
required

The teams on this page, sorted by name. Always an array, empty when there are none.

Array<object>
object
id
required

Team ID.

string format: uuid
name
required

Team name.

string
description
required

Team description.

string
tags
required

Deprecated. Teams no longer carry tags; always an empty array. It will be removed on 1 March 2027.

Array<object>
0
object
id
required

Tag ID.

string format: uuid
name
required

Tag name.

string
color
required

Display color, for example a hex code such as #F7F9FB.

string

Example generated

{
"records": 1,
"teams": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"description": "example",
"tags": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"color": "example"
}
]
}
]
}

page or limit is not an integer or is out of range (message invalid request, no error_code).

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}

The Authorization header is missing, or the API key is not valid for this organization. A key check that fails on the server is also reported as 401.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}

The API key has sent too many requests. Wait for the number of seconds in Retry-After, then retry.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}
Retry-After
integer
>= 1

Seconds to wait before retrying.

The teams could not be read (message unable to get a list of teams for the requested organization, no error_code).

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}