WorkSpan Token API

The Token API from WorkSpan — 1 operation(s) for token.

Operations 2

DELETE /token Invalidate access token #
POST /token Request 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/workspan-token-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 email required.

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

OpenAPI Specification

workspan-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authentication Actions Token API
  description: 'Implementation of [OAuth 2.0](https://tools.ietf.org/html/rfc6749  "Docs") with Client Credentials Grant type

    '
  version: '1.0'
servers:
- url: https://api-sandbox.workspan.com/oauth
security:
- {}
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Token
paths:
  /token:
    delete:
      operationId: delete-token
      summary: Invalidate access token
      description: Invalidate access token
      responses:
        '200':
          description: Empty body with 200 code
        '403':
          description: Access Token already invalidated or not found
        '500':
          description: Internal server error
      tags:
      - Token
    post:
      operationId: post-token
      summary: Request Access Token
      description: 'Partner makes a request to the token endpoint by adding the

        following parameters describerd  below

        '
      parameters:
      - name: x-ws-env
        in: header
        required: false
        schema:
          type: string
        description: Use this for WorkSpan Sandbox environment e.g. ws-api-1.appspot.com
      requestBody:
        content:
          application/json: {}
      responses:
        '200':
          description: Authorization token (Bearer)
          content:
            application/json:
              examples:
                default:
                  value: "{\n  \"access_token\": \"2YotnFZFEjr1zCsicMWpAA\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"refresh_token\": \"FZFEicMWpA\"\n}"
        '400':
          description: As per RFC authorisation server responds with 400 in case of error
          content:
            application/json:
              examples:
                default:
                  value: "{\n  \"error\": \"invalid_request\"\n}"
      tags:
      - Token
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
    apiKeyQuery:
      type: apiKey
      name: subscription-key
      in: query
x-harvest:
  source: https://developer.workspan.com/developer/apis/authentication-api?export=true&format=openapi+json&api-version=2022-04-01-preview
  operations_source: https://developer.workspan.com/developer/apis/authentication-api/operations?api-version=2022-04-01-preview
  harvested: '2026-07-21'
  note: Assembled from WorkSpan's Azure APIM developer portal data API (export skeleton + published operations/schemas).