Web Methods Login API

The Login API from Web Methods — 1 operation(s) for login.

GitHub OpenAPI

Operations 1

POST /login Login API #

Specifications

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/web-methods:web-methods-login-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

web-methods-login-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Login API
  version: '10.11'
  description: 'Operations tagged Login across 2 of this provider''s published API definitions: devportal-users.yaml, web-methods-developer-portal-users-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
  description: Development server
tags:
- name: Login
paths:
  /login:
    post:
      description: 'Login to Portal with a valid user name and password. This API supports only `NATIVE` / `LDAP` users login only.


        *This is an **ANONYMOUS** endpoint; No authorization required*


        *The CSRF Token is mandatory. Get the token via /csrf and send the value in header xsrf-token*'
      summary: Login API
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
            examples:
              LoginRequest:
                $ref: '#/components/examples/LoginRequest'
      responses:
        '200':
          $ref: '#/components/responses/LoginSuccess'
        '400':
          $ref: '#/components/responses/LoginFailure'
        '403':
          description: Invalid CSRF token
      tags:
      - Login
      operationId: postLogin
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  schemas:
    LoginRequest:
      type: object
      description: Login request
      properties:
        username:
          description: Login user name
          type: string
        password:
          type: string
          description: Login user password
        otp:
          type: string
          description: One time password for the user. Required if `multi factor authentication` is enabled.
    LoginResponse:
      type: object
      description: Login response
      properties:
        user:
          $ref: '#/components/schemas/User'
        result:
          type: string
          description: status of the login request. It could be `LOGIN_SUCCESSFUL` or `MFA_REQUIRED` or `PASSWORD_EXPIRED`
    User:
      description: User information
      type: object
      properties:
        username:
          description: username of the user
          type: string
        displayname:
          description: dervied name for the user. Usually in the combiation of `first name` + `last name`
          type: string
        firstname:
          description: first name of the user
          type: string
        lastname:
          description: last name of the user
          type: string
        email:
          description: email of the user
          type: string
        type:
          description: type of the user. It could be `NATIVE` / `LDAP` / `SOCIAL`
          type: string
        created:
          description: date in which user was provisioned in the system
          type: string
        modified:
          description: date in which user was modified in the system
          type: string
        id:
          description: uuid of the user.
          type: string
          format: uuid
        attributes:
          description: additional attributes of the user
          type: object
    Error:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: detailed error message if any.
  examples:
    LoginRequest:
      value:
        username: Administrator
        password: manage
    LoginResponse:
      value:
        user:
          username: administrator
          id: 200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4
          firstname: Administrator
          lastname: System
          locale: en_US
          type: NATIVE
          created: 2021-03-24 08:15
          modified: 2021-03-24 08:15
          name: administrator
          displayName: Administrator System
        result: LOGIN_SUCCESSFUL
  responses:
    LoginSuccess:
      description: Response when the user is successfully authenticated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LoginResponse'
          examples:
            loginResponse:
              $ref: '#/components/examples/LoginResponse'
    LoginFailure:
      description: The request was unacceptable, due to incorrect provided information
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 400
            message: Incorrect user name or password.
x-refined-from:
- devportal-users.yaml
- web-methods-developer-portal-users-openapi.yml