Druva Token API

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

Operations 2

GET /token Get token #
POST /token GovCloud Authorization #

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/druva-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 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

druva-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Druva Token API
  version: '1.0'
  description: 'Operations tagged Token across 2 of this provider''s published API definitions: druva-cyber-resilience-govcloud-authorization-openapi-original.json, druva-govcloud-authentication-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://govapis.druva.com
- url: https://govcloudapis.druva.com
tags:
- name: Token
paths:
  /token:
    get:
      description: ''
      operationId: get_token
      responses:
        '200':
          description: ''
      parameters: []
      tags:
      - Token
      summary: Get token
      x-summary-source: derived
    post:
      summary: GovCloud Authorization
      description: 'To use the ***Try It*** feature, use this API to generate OAuth2.0 Access Token for authentication and authorization with inSync GovCloud APIs.


        **Important** -

        1. This procedure is **APPLICABLE** only for generating **inSync GovCloud** token.

        2. After generating the token, ensure the initial letter of the Request Headers in your API request is in Capital, i.e. ''Accept'' and ''Authorization''.


        To generate Access Token and use it for authorization with GovCloud APIs -

        1. **Generate API Credentials**, Client ID and Secret Key, from the *inSync Federal Cloud*. For step-by-step instructions, see *Manage API Credentials*.

        2. Provide **Client ID** as *username* and **Secret Key** as *password* in this API.

        3. Copy the **Access Token** from the response.

        4. Click **Try It** button for the API which you want to call or explore and provide the copied Access Token in the **Authorization** text box in the format -

        **Bearer **

        **Example** - Bearer Zhdsohdspcnxxxxxx'
      operationId: getting-started-with-your-api
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - scope
              - grant_type
              properties:
                scope:
                  type: string
                  default: read
                grant_type:
                  type: string
                  default: client_credentials
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{"access_token": "<Generated Access Token>", "token_type": "bearer", "expires_in": 1800}'
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                    example: <Generated Access Token>
                  token_type:
                    type: string
                    example: bearer
                  expires_in:
                    type: integer
                    example: 1800
                    default: 0
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: curl
          code: 'curl -X POST -H ''authorization: Basic <Your Base64 encoded credentials>'' -d ''grant_type=client_credentials&scope=read'' https://govcloudapis.druva.com/token'
        samples-languages:
        - curl
      tags:
      - Token
    servers:
    - url: https://govapis.druva.com
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
    sec0:
      type: http
      scheme: basic
x-refined-from:
- druva-cyber-resilience-govcloud-authorization-openapi-original.json
- druva-govcloud-authentication-openapi-original.json
x-readme:
  explorer-enabled: true
  proxy-enabled: true
  samples-enabled: true