Mend Access Management API

The Access Management API from Mend — 5 operation(s) for access management.

GitHub OpenAPI

Operations 9

POST /api/v3.0/logout Logout (revokes the refresh token) #
POST /api/v3.0/login/auth0 Auth0 Login #
POST /api/v3.0/login/accessToken Refresh Access Token #
POST /api/v3.0/login Login #
POST /api/v2.0/login/openId Auth 0 Login #
POST /api/v2.0/login/auth0 Auth 0 Login #
POST /api/v2.0/login/accessToken Refresh Access Token #
POST /api/v2.0/login Login #
DELETE /api/v2.0/refreshToken Revoke refresh 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/mend:mend-access-management-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

mend-access-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mend Access Management API
  description: 'Mend''s enhanced SCA API enables automation of workflows in a REST compliant format. The API features:

    + Access for any user with Mend credentials, via a user key available in the user''s profile page in the Mend App.

    + Improved security with a JWT token per organization, which expires every 10 minutes.

    + Added scalability with support for pagination, filtering and sorting search results.

    + Broader functionality available programmatically.

    + New standard API documentation for easy navigation and search.


    **Note:** To help you get started with the Mend SCA API 2.0, we recommend reviewing our onboarding guide -> Getting Started with Mend SCA API 2.0.

    This resource covers initial setup, authentication instructions, and helpful tips to help you successfully begin working with the Mend SCA API 2.0. If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.'
  version: 3.0.1
servers:
- url: https://api-saas.mend.io
  description: Generated server url
security:
- bearer-key: []
tags:
- name: Access Management
paths:
  /api/v3.0/logout:
    post:
      tags:
      - Access Management
      summary: Logout (revokes the refresh token)
      operationId: logout
      parameters:
      - name: wss-refresh-token
        in: header
        description: Refresh token
        required: true
        schema:
          type: string
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v3.0/login/auth0:
    post:
      tags:
      - Access Management
      summary: Auth0 Login
      description: Provides login method using user and password
      operationId: loginAuth0
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginModel'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DWRResponseV3LoginResponseDTO'
  /api/v3.0/login/accessToken:
    post:
      tags:
      - Access Management
      summary: Refresh Access Token
      description: Generates a new access token from a refresh token
      operationId: refreshAccessToken
      parameters:
      - name: wss-refresh-token
        in: header
        description: Refresh token
        required: true
        schema:
          type: string
      - name: orgUuid
        in: query
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccessTokenRequestDTO'
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DWRResponseV3AccessTokenResponseDTO'
  /api/v3.0/login:
    post:
      tags:
      - Access Management
      summary: Login
      description: 'Sign in a user with email and user key, returning a JWT token which is valid for 30 minutes.

        If you omit the organization, it defaults to the last one you signed in to.'
      operationId: login
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginModelDTOV3'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DWRResponseV3LoginResponseDTO'
  /api/v2.0/login/openId:
    post:
      tags:
      - Access Management
      summary: Auth 0 Login
      description: Provide login method using user and password
      operationId: loginByAuth0Token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginModel'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionInfo'
  /api/v2.0/login/auth0:
    post:
      tags:
      - Access Management
      summary: Auth 0 Login
      description: Provide login method using user and password
      operationId: loginAuth0_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginModel'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionInfo'
  /api/v2.0/login/accessToken:
    post:
      tags:
      - Access Management
      summary: Refresh Access Token
      description: Generate a new access token using the provided refresh token.
      operationId: refreshAccessToken_1
      parameters:
      - name: wss-refresh-token
        in: header
        description: Enter the refreshToken received from the login response.
        schema:
          type: string
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionInfo'
  /api/v2.0/login:
    post:
      tags:
      - Access Management
      summary: Login
      description: 'Sign in a user with email and user key, returning a JWT token which is valid for 30 minutes.

        If you omit the organization, it defaults to the last one you signed in to.'
      operationId: login_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginModelDTO'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DWRResponseSessionInfo'
  /api/v2.0/refreshToken:
    delete:
      tags:
      - Access Management
      summary: Revoke refresh token
      operationId: revokeRefreshToken
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DWRResponseBase'
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
components:
  schemas:
    LoginResponseDTO:
      type: object
      properties:
        userUuid:
          type: string
        userName:
          type: string
        email:
          type: string
        refreshToken:
          type: string
        jwtTTL:
          type: integer
          format: int64
        systemAccess:
          type: boolean
        serviceSystemAccess:
          type: boolean
        sessionStartTime:
          type: integer
          format: int64
        systemAccessStartTime:
          type: integer
          format: int64
    DWRResponseBase:
      type: object
      properties:
        supportToken:
          title: Support Token
          type: string
          example: 1171c60d
    AccessTokenRequestDTO:
      type: object
      properties:
        accessToken:
          type: string
      description: Previous Access Token
    DWRResponseV3AccessTokenResponseDTO:
      type: object
      properties:
        supportToken:
          title: Support Token
          type: string
          example: 1171c60d
        response:
          $ref: '#/components/schemas/AccessTokenResponseDTO'
    LoginModelDTO:
      required:
      - email
      - userKey
      type: object
      properties:
        email:
          title: Email
          type: string
          example: jon.smith@mail.com
        orgToken:
          title: Org Token
          type: string
          description: 'org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).'
          example: 123e4567-e89b-12d3-a456-426655440000
        userKey:
          title: User Key
          type: string
          description: Equivalent to a personal access token. Avoid pasting as plain text where it might be compromised. For a service user (recommended), you can find the user key in the Mend SCA App in **Admin > Users**. [Learn more](https://docs.mend.io/bundle/mend_maintenance/page/managing_service_users.html). For local testing purposes, you could also use one of your own personal user keys from your user profile page in the Mend SCA App.
          example: '***********'
      description: Login Model that provides user name and password for the Login process.
    DWRResponseV3LoginResponseDTO:
      type: object
      properties:
        supportToken:
          title: Support Token
          type: string
          example: 1171c60d
        response:
          $ref: '#/components/schemas/LoginResponseDTO'
    AccessTokenResponseDTO:
      type: object
      properties:
        userUuid:
          type: string
        username:
          type: string
        email:
          type: string
        jwtToken:
          type: string
        tokenType:
          type: string
        orgName:
          type: string
        orgUuid:
          type: string
        accountName:
          type: string
        accountUuid:
          type: string
        tokenTTL:
          type: integer
          format: int64
        systemAccess:
          type: boolean
        serviceSystemAccess:
          type: boolean
        sessionStartTime:
          type: integer
          format: int64
        systemAccessStartTime:
          type: integer
          format: int64
    DWRResponseSessionInfo:
      type: object
      properties:
        supportToken:
          title: Support Token
          type: string
          example: 1171c60d
        retVal:
          $ref: '#/components/schemas/SessionInfo'
    LoginModel:
      type: object
      properties:
        code:
          type: string
        redirectUrl:
          type: string
        openIdToken:
          type: string
      description: Login Model that provides user name and password for the Login process.
    LoginModelDTOV3:
      required:
      - email
      - userKey
      type: object
      properties:
        email:
          title: Email
          type: string
          example: jon.smith@mail.com
        userKey:
          title: User Key
          type: string
          description: Equivalent to a personal access token. Avoid pasting as plain text where it might be compromised. For a service user (recommended), you can find the user key in the Mend SCA App in **Admin > Users**. [Learn more](https://docs.mend.io/bundle/mend_maintenance/page/managing_service_users.html). For local testing purposes, you could also use one of your own personal user keys from your user profile page in the Mend SCA App.
          example: '***********'
      description: Login Model that provides user name and password for the Login process.
    SessionInfo:
      type: object
      properties:
        correlationId:
          type: string
        userUuid:
          type: string
        userName:
          type: string
        email:
          type: string
        refreshToken:
          type: string
        jwtToken:
          type: string
        orgName:
          title: Organization Name
          type: string
          example: Organization A
        orgUuid:
          title: Organization Uuid
          type: string
          example: 123e4567-e89b-12d3-a456-426655440000
  securitySchemes:
    bearer-key:
      type: http
      description: JWT token Bearer
      scheme: bearer
      bearerFormat: JWT