Microsoft Azure Token API

The Token API from Microsoft Azure, for token.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token Get an access token for an ML web service · Microsoft Azure Generate Service Access Token #
Ask an LLM
“How do I get a token to call a deployed Azure ML model service?”
“Where does the access token for a model-management service come from?”
Tell an agent
Generate an access token for service {id} in workspace {workspace} ({resourceGroup}, sub {subscriptionId}).
Get a token to call ML service {id}.
POST /identities/{id}/:issueAccessToken Issue a Communication Services identity token · Microsoft Azure Issue A New Token For An Identity #
Ask an LLM
“How do I give a Communication Services user a token for chat or VoIP?”
“Which scopes can I request when issuing an identity access token?”
Tell an agent
Issue an access token for identity {id} with scopes {scopes}.
Give communication identity {id} a new chat 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/microsoft-azure:microsoft-azure-token-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

microsoft-azure-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2019-09-30'
  title: Microsoft Azure Azure Machine Learning Model Management…
  description: These APIs allow end users to manage Azure Machine Learning Models, Images, Profiles, and Services.
security:
- azure_auth:
  - user_impersonation
tags:
- name: Token
paths:
  ? /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token
  : post:
      tags:
      - Token
      summary: Microsoft Azure Generate Service Access Token
      description: Gets access token that can be used for calling service.
      operationId: microsoftAzureServicesGetservicetoken
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: id
        in: path
        description: The Service Id.
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthToken'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
  /identities/{id}/:issueAccessToken:
    post:
      tags:
      - Token
      summary: Microsoft Azure Issue A New Token For An Identity
      operationId: microsoftAzureCommunicationidentityIssueaccesstoken
      parameters:
      - in: path
        name: id
        description: Identifier of the identity to issue token for.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationIdentityAccessToken'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse
      x-ms-examples:
        Issue an access token:
          $ref: ./examples/IssueAccessToken.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationIdentityAccessTokenRequest'
        description: Requesting scopes for the new token.
        required: true
components:
  schemas:
    AuthToken:
      description: Service Token
      type: object
      properties:
        accessToken:
          description: Access token.
          type: string
        tokenType:
          description: Access token type.
          type: string
        expiryOn:
          format: int64
          description: Access token expiry time (UTC).
          type: integer
        refreshAfter:
          format: int64
          description: Refresh access token after time (UTC).
          type: integer
    ModelErrorResponse:
      description: The Model Management Service Error object.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        statusCode:
          format: int32
          description: The HTTP status code.
          type: integer
        message:
          description: The error message.
          type: string
        details:
          description: An array of error detail objects.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetails'
    ErrorDetails:
      description: The error details.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        message:
          description: The error message.
          type: string
        target:
          description: The target of the error (e.g., the name of the property in error).
          type: string
    CommunicationIdentityAccessTokenRequest:
      required:
      - scopes
      type: object
      properties:
        scopes:
          description: List of scopes attached to the token.
          type: array
          items:
            $ref: '#/components/schemas/CommunicationIdentityTokenScope'
    CommunicationIdentityAccessToken:
      description: An access token.
      required:
      - expiresOn
      - token
      type: object
      properties:
        token:
          description: The access token issued for the identity.
          type: string
        expiresOn:
          format: date-time
          description: The expiry time of the token.
          type: string
    CommunicationIdentityTokenScope:
      description: List of scopes for an access token.
      enum:
      - chat
      - voip
      type: string
      x-ms-enum:
        name: CommunicationIdentityTokenScope
        modelAsString: true
  parameters:
    workspaceParameter:
      name: workspace
      in: path
      description: The name of the workspace.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Azure Subscription ID.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        format: uuid
    resourceGroupParameter:
      name: resourceGroup
      in: path
      description: The Name of the resource group in which the workspace is located.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    ApiVersionParameter:
      in: query
      name: api-version
      description: Version of API to invoke.
      required: true
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize