Console APIs - Teams
Get Teams
Retrieve all teams in your organization with pagination support
GET
Get Teams
Retrieve a paginated list of all teams in your organization with their basic information.Authentication
This endpoint requires Console API authentication with bearer token andx-source: console header.
Bearer token for authentication. Format:
Bearer YOUR_ACCESS_TOKENSource identifier. Must be set to
console for all Console API requests.Query Parameters
Page number for pagination. Must be a positive integer.
Number of teams per page. Range: 1-100.
Response Fields
Teams data object containing the list of teams and pagination information.
Human-readable message describing the result of the operation.
Operation status. Always “success” for successful requests.
Error Responses
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
- User lacks team viewing permissions
- User is not a member of the organization
400 Bad Request
400 Bad Request
- Invalid page number (negative or zero)
- Invalid limit value (outside 1-100 range)
Usage Examples
Pagination Examples
Basic Pagination
Basic Pagination
Complete Pagination
Complete Pagination
Search and Filter
Search and Filter
Best Practices
Pagination
Pagination
- Use appropriate page sizes (10-50 items per page)
- Implement proper pagination controls in your UI
- Cache results when possible to reduce API calls
- Handle empty results gracefully
Performance
Performance
- Use reasonable page limits to avoid large responses
- Implement client-side caching for frequently accessed data
- Consider implementing search and filtering on the client side
Error Handling
Error Handling
- Handle pagination parameter validation errors
- Implement retry logic for transient failures
- Provide fallback UI for empty team lists
Related Endpoints
Create Team
Create a new team in your organization.
Get Team Members
View members of a specific team.
Invite Team Member
Add new members to a team.
Delete Team
Remove a team from your organization.