SPOTIO Teams API

The controller is responsible for handling operations on teams creating, updating, deleting, and retrieving team data. The controller also handles adding users to teams, getting a list of all teams in a company and deleting teams at once.

Operations 10

POST /api/Teams Create a new team #
PUT /api/Teams/{teamId} Update existing team #
DELETE /api/Teams/{teamId} Delete existing team #
GET /api/Teams/{teamId} Get team details #
GET /api/Teams/list Get team list #
PUT /api/Teams/{teamId}/addUsers Add users to team #
GET /api/Teams/all Get all company teams #
DELETE /api/Teams/many Delete many teams at once #
GET /api/Teams/users Get users by teams #
GET /api/Teams/logs Get log of changes #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotio-teams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotio-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Spotio 2.0 Teams API
  description: 'The controller is responsible for handling operations on teams creating, updating, deleting, and retrieving team data.

    The controller also handles adding users to teams, getting a list of all teams in a company and deleting teams at once.'
  contact:
    name: Contact us
    url: https://spotio.com/contact/
    email: support@spotio.com
servers:
- url: https://api.spotio2.com
  description: Production
- url: https://app-test.spotio2.com
  description: Test
security:
- Bearer: []
tags:
- name: Teams
  description: 'The controller is responsible for handling operations on teams creating, updating, deleting, and retrieving team data.

    The controller also handles adding users to teams, getting a list of all teams in a company and deleting teams at once.'
paths:
  /api/Teams:
    post:
      tags:
      - Teams
      summary: Create a new team
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: postApiTeams
      x-operation-id-source: derived
  /api/Teams/{teamId}:
    put:
      tags:
      - Teams
      summary: Update existing team
      parameters:
      - name: teamId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: putApiTeamsByTeamId
      x-operation-id-source: derived
    delete:
      tags:
      - Teams
      summary: Delete existing team
      parameters:
      - name: teamId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: deleteApiTeamsByTeamId
      x-operation-id-source: derived
    get:
      tags:
      - Teams
      summary: Get team details
      parameters:
      - name: teamId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.Team'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: getApiTeamsByTeamId
      x-operation-id-source: derived
  /api/Teams/list:
    get:
      tags:
      - Teams
      summary: Get team list
      parameters:
      - name: name
        in: query
        description: Name of the team
        schema:
          type: string
      - name: sortBy
        in: query
        description: The property to sort teams by. Order by descending required add '-' before parameter
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamList'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamList'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamList'
        '401':
          description: Unauthorized
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: getApiTeamsList
      x-operation-id-source: derived
  /api/Teams/{teamId}/addUsers:
    put:
      tags:
      - Teams
      summary: Add users to team
      parameters:
      - name: teamId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest'
      responses:
        '200':
          description: Success
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: putApiTeamsByTeamIdAddUsers
      x-operation-id-source: derived
  /api/Teams/all:
    get:
      tags:
      - Teams
      summary: Get all company teams
      description: Get teams list with base information
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAllList'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAllList'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAllList'
        '401':
          description: Unauthorized
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: getApiTeamsAll
      x-operation-id-source: derived
  /api/Teams/many:
    delete:
      tags:
      - Teams
      summary: Delete many teams at once
      description: Delete multiple teams by ids
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest'
      responses:
        '200':
          description: Success
        '401':
          description: Unauthorized
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: deleteApiTeamsMany
      x-operation-id-source: derived
  /api/Teams/users:
    get:
      tags:
      - Teams
      summary: Get users by teams
      description: Get teams members with nested teams
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
            text/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: getApiTeamsUsers
      x-operation-id-source: derived
  /api/Teams/logs:
    get:
      tags:
      - Teams
      summary: Get log of changes
      description: Get changes log of teams
      parameters:
      - name: teamId
        in: query
        description: Filter by teamId
        schema:
          type: integer
          format: int32
      - name: userId
        in: query
        description: Filter by userId
        schema:
          type: integer
          format: int32
      - name: scrollId
        in: query
        description: Next page id
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAssignmentLogsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAssignmentLogsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAssignmentLogsResponse'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
      operationId: getApiTeamsLogs
      x-operation-id-source: derived
components:
  schemas:
    Spotio.Frontend.ViewModel.Teams.TeamRequest:
      type: object
      description: A request for creating a team.
      additionalProperties: false
      properties:
        name:
          type:
          - string
          - 'null'
          description: The name of the team.
        parentId:
          type:
          - string
          - 'null'
          description: The ID of the parent team, if this team is a sub-team.
        usersIds:
          type:
          - array
          - 'null'
          description: The IDs of the users that belong to the team.
          items:
            type: string
    Spotio.Frontend.ViewModel.Teams.TeamList:
      type: object
      additionalProperties: false
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        parentId:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        userCount:
          type: integer
          format: int32
        withinAssigned:
          type: boolean
        editable:
          type: boolean
        assignable:
          type: boolean
        deletable:
          type: boolean
        accessible:
          type: boolean
        visible:
          type: boolean
    Spotio.Authorization.Client.Teams.TeamAssignmentTypeDto:
      type: string
      enum:
      - Added
      - Removed
    Spotio.Infrastructure.Common.DataModel.Error.Error:
      type: object
      additionalProperties: false
      properties:
        errors:
          readOnly: true
    Spotio.Frontend.ViewModel.Teams.TeamAllList:
      type: object
      description: Represents a team in the list of all teams.
      additionalProperties: false
      properties:
        id:
          type:
          - string
          - 'null'
          description: The ID of the team.
        name:
          type:
          - string
          - 'null'
          description: The name of the team.
        parentId:
          type:
          - string
          - 'null'
          description: The ID of the parent team, if any.
        visible:
          type: boolean
          description: Indicates whether the team is visible.
        assignable:
          type: boolean
          description: Indicates whether the team is assignable.
    Spotio.Frontend.ViewModel.Teams.AddUsersToTeamRequest:
      type: object
      additionalProperties: false
      properties:
        usersIds:
          type:
          - array
          - 'null'
          items:
            type: string
    Spotio.Frontend.ViewModel.Teams.DeleteManyTeamsRequest:
      type: object
      additionalProperties: false
      properties:
        teamsIds:
          type:
          - array
          - 'null'
          items:
            type: string
    Spotio.Frontend.ViewModel.Teams.Team:
      type: object
      description: Represents a team in the system.
      additionalProperties: false
      properties:
        id:
          type:
          - string
          - 'null'
          description: The ID of the team.
        companyId:
          type:
          - string
          - 'null'
          description: The ID of the company that the team belongs to.
        name:
          type:
          - string
          - 'null'
          description: The name of the team.
        parentId:
          type:
          - string
          - 'null'
          description: The ID of the parent team, if exits.
        createdById:
          type:
          - string
          - 'null'
          description: The ID of the user who created the team.
        updatedById:
          type:
          - string
          - 'null'
          description: The ID of the user who last updated the team.
        updatedAt:
          type: string
          description: The date and time when the team was last updated.
          format: date-time
        createdAt:
          type: string
          description: The date and time when the team was created.
          format: date-time
        usersIds:
          type:
          - array
          - 'null'
          description: A list of user IDs that belong to the team.
          items:
            type: string
    Spotio.Frontend.ViewModel.Teams.TeamAssignmentLog:
      type: object
      additionalProperties: false
      properties:
        id:
          type:
          - string
          - 'null'
        userId:
          type:
          - string
          - 'null'
        teamId:
          type:
          - string
          - 'null'
        when:
          type: string
          format: date-time
        who:
          type:
          - string
          - 'null'
        action:
          $ref: '#/components/schemas/Spotio.Authorization.Client.Teams.TeamAssignmentTypeDto'
        source:
          type:
          - string
          - 'null'
    Spotio.Frontend.ViewModel.Teams.TeamAssignmentLogsResponse:
      type: object
      additionalProperties: false
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Spotio.Frontend.ViewModel.Teams.TeamAssignmentLog'
        scrollId:
          type:
          - integer
          - 'null'
          format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'Enter the Bearer Authorization string as following: `Bearer Generated-JWT-Token`'
      name: Authorization
      in: header