Skip to main content
GET
/
v1
/
teams
/
{id}
cURL
curl --request GET \
  --url http://sandbox.mintlify.com/v1/teams/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": 1,
    "name": "Acme Corporation",
    "username": "acme-corp",
    "about": "Leading provider of innovative solutions",
    "logo": "https://example.com/logos/acme.png"
  }
}
Retrieve a single team by its ID. You can only access teams that you are a member of.

Path Parameters

id
integer
required
The unique identifier of the team.

Response

success
boolean
required
Indicates whether the request was successful. Always true for successful responses.
data
object
The team object.

Example Response

{
  "success": true,
  "data": {
    "id": 1,
    "name": "Acme Corporation",
    "username": "acme-corp",
    "about": "Leading provider of innovative solutions",
    "logo": "https://example.com/logos/acme.png"
  }
}

Error Response

{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Team not found."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<int64>
required

ID of team

Response

Team response

success
boolean
required

Indicates whether the request was successful

Example:

true

data
object
required

The response data. Can be an object, array, or null