API Explorer
List teams for the calling org
Returns every team in the calling token's org with its id, name, and
description. Use this to resolve a team slug or human-readable name to the UUID
expected by other endpoints (e.g. team on team-API publish, or teamId on
delete). Scope is org-internal — teams in other orgs are never returned.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token. Either a Personal Access Token (pat_...) or a Service Account
Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://app.spec0.io/api/v1/public/teams"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa"
}
]{
"error": "string",
"message": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}Was this helpful?