Cloud Studio IoT Access tokens API

Create and delete the persistent access tokens the rest of the API uses.

GitHub OpenAPI

Operations 2

POST /services/gear/AuthorizationService.svc/CreateClientAccessTokenAllIntegrations Create a persistent access token #
POST /services/gear/AuthorizationService.svc/DeleteClientAccessToken Delete a persistent access token #

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/cloudstudioiot:cloudstudioiot-access-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

cloudstudioiot-access-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudstudioiot Access tokens API
  version: '2'
  contact:
    name: Cloud Studio IoT
    url: https://cloudstudioiot.com/contact
    email: info@cloud.studio
  termsOfService: https://cloudstudioiot.com/terms
  description: 'Operations tagged Access tokens across 2 of this provider''s published API definitions: cloudstudioiot-openapi.yaml, cloudstudioiot-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{host}
  description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
  variables:
    host:
      default: gear.cloud.studio
- url: https://gear.cloud.studio
  description: The shared Cloud Studio IoT cloud instance.
security:
- bearerToken: []
- accessTokenQuery: []
tags:
- name: Access Tokens
  description: Create and delete the persistent access tokens the rest of the API uses.
  externalDocs:
    url: https://cloudstudioiot.com/docs/apis-de-extraccion-de-datos/access-tokens-persistentes
paths:
  /services/gear/AuthorizationService.svc/CreateClientAccessTokenAllIntegrations:
    post:
      operationId: createAccessToken
      tags:
      - Access Tokens
      summary: Create a persistent access token
      description: 'Creates an access token that inherits the permissions of the user whose

        credentials are sent. Without `expiration` the token expires on

        2099-01-01.


        Two requests with the same `Description` fail. After three consecutive

        requests with wrong credentials the API answers "Please complete the

        captcha" until that user signs in to the platform and solves it.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccessTokenRequest'
            example:
              clientAccessToken:
                Description: Reporting integration
                ClientID: 79
              login:
                LoginType: 1
                Email: user@example.com
                Password: '********'
              expiration: 3600
      responses:
        '200':
          description: The token was created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  CreateClientAccessTokenAllIntegrationsResult:
                    $ref: '#/components/schemas/ClientAccessToken'
        '500':
          $ref: '#/components/responses/ServiceException'
    servers:
    - url: https://{host}
      description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
      variables:
        host:
          default: gear.cloud.studio
  /services/gear/AuthorizationService.svc/DeleteClientAccessToken:
    post:
      operationId: deleteAccessToken
      tags:
      - Access Tokens
      summary: Delete a persistent access token
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - accessToken
              - clientAccessTokenID
              properties:
                accessToken:
                  type: string
                  description: Access token to delete.
                clientAccessTokenID:
                  type: integer
                  description: Identifier returned as `ClientAccessTokenID` when the token was created.
            example:
              accessToken: 99a4d0a4-932d-468b-9c17-49b5afdffb0d
              clientAccessTokenID: 14
      responses:
        '200':
          description: The token was deleted. The body is an empty object.
          content:
            application/json:
              schema:
                type: object
        '500':
          $ref: '#/components/responses/ServiceException'
    servers:
    - url: https://{host}
      description: A Cloud Studio IoT instance. Dedicated and on-premise instances use their own host.
      variables:
        host:
          default: gear.cloud.studio
components:
  schemas:
    DateTimeParts:
      type: object
      properties:
        Date:
          type: object
          properties:
            Day:
              type: integer
            Month:
              type: integer
            Year:
              type: integer
        Time:
          type: object
          properties:
            Hour:
              type: integer
            Minute:
              type: integer
            Second:
              type: integer
            Millisecond:
              type: integer
    ClientAccessToken:
      type: object
      properties:
        AccessToken:
          type: string
        ClientAccessTokenID:
          type: integer
        ClientID:
          type: integer
        Description:
          type: string
        DateTimeCreated:
          $ref: '#/components/schemas/DateTimeParts'
        ExpirationDateTime:
          $ref: '#/components/schemas/DateTimeParts'
    CreateAccessTokenRequest:
      type: object
      required:
      - clientAccessToken
      - login
      properties:
        clientAccessToken:
          type: object
          required:
          - Description
          - ClientID
          properties:
            Description:
              type: string
              maxLength: 255
              description: What the token is for. Must be unique.
            ClientID:
              type: integer
              description: Client the token is created for.
        login:
          type: object
          required:
          - LoginType
          - Email
          - Password
          properties:
            LoginType:
              type: integer
              const: 1
            Email:
              type: string
              format: email
            Password:
              type: string
              format: password
        expiration:
          type: integer
          description: Minutes the token stays valid from its creation. Omit it for a token that expires on 2099-01-01.
    CreateAccessTokenRequest_2:
      type: object
      required:
      - clientAccessToken
      - login
      properties:
        clientAccessToken:
          type: object
          required:
          - Description
          - ClientID
          properties:
            Description:
              type: string
              maxLength: 255
              description: What the token is for. Must be unique.
            ClientID:
              type: integer
              description: Client the token is created for.
        login:
          type: object
          required:
          - LoginType
          - Email
          - Password
          properties:
            LoginType:
              type: integer
              const: 1
            Email:
              type: string
              format: email
            Password:
              type: string
              format: password
        expiration:
          type: integer
          description: Seconds the token stays valid from its creation. Omit it, or send 0, for a token that expires on 2099-01-01.
    ErrorResponse:
      type: object
      required:
      - Exception
      properties:
        Exception:
          type: object
          required:
          - FaultCode
          properties:
            ClassName:
              type: string
              description: Type of the exception on the server.
            FaultCode:
              type: string
              description: Numeric error code sent as text. Stable between versions; use it to decide how to react.
              examples:
              - '8001'
              - '100004'
            FaultData:
              type: string
              description: Additional data about the error. Usually empty.
            Message:
              type: string
              description: Human-readable description, translated to the user's language. Not stable; do not parse it.
  responses:
    ServiceException:
      description: The request failed. A missing, invalid or expired access token is also reported this way.
      content:
        application/json:
          schema:
            type: object
            properties:
              Exception:
                type: object
                properties:
                  ClassName:
                    type: string
                  FaultCode:
                    type: string
                  FaultData:
                    type: string
                  Message:
                    type: string
          example:
            Exception:
              ClassName: ServiceException
              FaultCode: '8001'
              FaultData: ''
              Message: The access token is invalid or it doesn't have sufficient permissions to execute the requested operation
    ServiceException_2:
      description: 'The request failed. Every error, including a missing or invalid access

        token and a wrong or missing parameter, is returned as HTTP 500 with

        this body; the API does not answer 400 or 401. Decide what to do from

        `FaultCode`, which is stable; `Message` is translated and can change.


        Common `FaultCode` values:


        | FaultCode | Meaning |

        | --- | --- |

        | 8000 | The access token has no permission for this API. |

        | 8001 | The access token is missing, does not exist or has expired. |

        | 8002 | The account is disabled. |

        | 8004 | No permission on the requested resource. |

        | 100000 | A required value is missing. |

        | 100004 | A value is not valid or exceeds a limit. |

        | 100001 | Unexpected error. |


        Retrying the same call does not fix 8000, 8001, 8002, 8004, 100000 or

        100004: correct the request or the token first.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            Exception:
              ClassName: ServiceException
              FaultCode: '8001'
              FaultData: ''
              Message: The access token is invalid or it doesn't have sufficient permissions to execute the requested operation
  securitySchemes:
    bearerToken:
      type: http
      scheme: bearer
      description: 'Persistent access token sent as `Authorization: Bearer {accessToken}`.'
    accessTokenQuery:
      type: apiKey
      in: query
      name: accessToken
      description: The same access token in the query string, for clients that cannot set headers.
externalDocs:
  description: Data Extraction APIs documentation
  url: https://cloudstudioiot.com/docs/apis-de-extraccion-de-datos
x-refined-from:
- cloudstudioiot-openapi.yaml
- cloudstudioiot-openapi.yaml