Apptio Authentication API

Operations for Authentication

GitHub OpenAPI

Operations 24

POST /api/user/changepassword Change password of a user #
POST /exchangeCode Exchange a single-use authCode for user identity information #
GET /changepassword Get change password dialog #
GET /api/v2/domainselection Get domain selection list #
GET /api/v2/environmentselection Get environment selection list #
GET /resettoken Get reset password dialog #
GET /api/user/othersessions Retrieve recent sessions #
POST /sso/idpdrop Idp SSO login drop #
POST /sso/v2/idpdrop Idp SSO login drop generic saml #
GET / Index #
GET /login Route User to Frontdoor for login #
POST /login Login #
GET /logoutothersessions Logout current user's other sessions #
GET /logout Logout current user #
POST /service/serviceaccesskeylogin Headless Service Accesskey login #
POST /service/nonuilogin Headless login #
POST /service/apikeylogin Headless Apikey login #
POST /api/user/getresettoken Request a Password Reset for a User #
POST /api/user/resetpassword Reset password #
GET /resetpassword/{token} Reset password using token #
POST /service/servicelogin Service login #
POST /singlelogin Single login #
GET /sso/spdrop Sp SSO login drop #

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/apptio:apptio-authentication-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

apptio-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  license: {}
  title: Apptio Authentication API
  description: Operations for Authentication
tags:
- name: Authentication
  description: Operations for Authentication
paths:
  /api/user/changepassword:
    post:
      tags:
      - Authentication
      summary: Change password of a user
      description: 'Changes the password of the specified user.


        JSON Parameters:

        login: Login of the User to change password for

        curr_pwd: Current password of the User to change password for

        pdw1: New password for the User

        pwd2: Confirm new password for the User


        Constraints:

        New Password must match password policy of the User''s Authentication Domain


        Permissions:

        Logged in User must have permissions to UPDATE users of the authentication Domain of the User to change password for or have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain. The logged in User must be of the same authentication Domain.

        Additionally, Frontdoor level permissions allow for UPDATE on the following sets of Authentication Domains.

        - manageUser allows for UPATE of any internal authentication Domain.

        - manageUser and manageExternal allows for UPDATE of any authentication Domain.'
      operationId: changePassword
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeUserPassword'
        required: true
      responses:
        '200':
          description: Password change successful
        '400':
          description: Invalid data provided
        '403':
          description: Operation forbidden
        '404':
          description: User specified was not found
  /exchangeCode:
    post:
      tags:
      - Authentication
      summary: Exchange a single-use authCode for user identity information
      description: 'Exchanges a single-use authCode for user identity information. During a browser based login, a code=... is returned back to the caller as a url param. exchangeAuthCode allows the caller-service to exchange the code for the auth token.


        JSON Parameters:

        code: Auth code returned to the user as a query parameter during browser based login


        Returns:

        Frontdoor authentication token for the user in header Apptio-Opentoken'
      operationId: exchangeAuthCode
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExchangeCode'
        required: true
      responses:
        '200':
          description: Auth code exchanged successfully
        '401':
          description: Invalid request data submitted
  /api/user/getresetlink/{login}:
    get:
      tags:
      - Authentication
      operationId: generatePasswordResetLink
      parameters:
      - name: login
        in: path
        required: true
        schema:
          maxLength: 80
          minLength: 1
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
      summary: Generate password reset link
      x-summary-source: derived
  /changepassword:
    get:
      tags:
      - Authentication
      operationId: getChangePasswordDialog
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Get change password dialog
      x-summary-source: derived
  /api/v2/domainselection:
    get:
      tags:
      - Authentication
      operationId: getDomainSelectionList
      parameters:
      - name: domain
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
      summary: Get domain selection list
      x-summary-source: derived
  /api/v2/environmentselection:
    get:
      tags:
      - Authentication
      operationId: getEnvironmentSelectionList
      parameters:
      - name: applicationId
        in: query
        schema:
          type: string
      - name: appTypes
        in: query
        schema:
          $ref: '#/components/schemas/StringSetParam'
      responses:
        default:
          description: default response
          content:
            application/json: {}
      summary: Get environment selection list
      x-summary-source: derived
  /resettoken:
    get:
      tags:
      - Authentication
      operationId: getResetPasswordDialog
      parameters:
      - name: username
        in: query
        schema:
          type: string
          default: ''
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Get reset password dialog
      x-summary-source: derived
  /api/user/othersessions:
    get:
      tags:
      - Authentication
      summary: Retrieve recent sessions
      description: 'Retrieves recent sessions belonging to the user login


        Optional Query Parameters:

        sinceTime: timestamp to check, defaults to timestamp of current user session. Format is Unix time in milliseconds.

        Returns:

        Sessions since the requested time, not including the current session.'
      operationId: getUserOtherSessions
      parameters:
      - name: sinceTime
        in: query
        schema:
          minimum: 0
          type: integer
          format: int64
          default: 0
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /sso/idpdrop:
    post:
      tags:
      - Authentication
      operationId: idpSSOLoginDrop
      parameters:
      - name: redirect
        in: query
        schema:
          type: string
      - name: environmentId
        in: query
        schema:
          type: string
      - name: applicationId
        in: query
        schema:
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                opentoken:
                  type: string
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Idp SSO login drop
      x-summary-source: derived
  /sso/v2/idpdrop:
    post:
      tags:
      - Authentication
      operationId: idpSSOLoginDropGenericSaml
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                SAMLResponse:
                  type: string
                RelayState:
                  type: string
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Idp SSO login drop generic saml
      x-summary-source: derived
  /:
    get:
      tags:
      - Authentication
      operationId: index
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Index
      x-summary-source: derived
  /login:
    get:
      tags:
      - Authentication
      summary: Route User to Frontdoor for login
      description: 'Displays UI for logging in. If a User is already logged in, they are routed past the login process.


        Optional Query Parameters:

        redirect: URL to redirect users to after successful login

        environmentId: UUID of the Environment the User should be sent to. Useful for single tenant applications

        applicationId: UUID of Application to filter environment selection by.appTypes: Application Types to filter environment selection by.Environments the User has access to that have the specified Application.Useful for multi-tenant applications

        impersonate: Boolean to specify if we want to impersonate. If this is set to true, an impersonation selection screen will be shown if the user has the ability to impersonate other users on the selected environment. Defaults to false


        Notes:

        If a redirect is not specified, users are routed to the default application endpoint for the environment they selected. In the case of new SSO users, they may be auto provisioned if their Authentication Domain allows it.'
      operationId: login_1
      parameters:
      - name: username
        in: query
        schema:
          type: string
      - name: domain
        in: query
        schema:
          type: string
      - name: redirect
        in: query
        schema:
          type: string
      - name: environmentId
        in: query
        schema:
          type: string
      - name: applicationId
        in: query
        schema:
          type: string
      - name: appTypes
        in: query
        schema:
          $ref: '#/components/schemas/StringSetParam'
      - name: impersonate
        in: query
        schema:
          type: boolean
      - name: state
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Login successful (if already has a valid token) OR Domain select returned
        '400':
          description: Invalid request data submitted
    post:
      tags:
      - Authentication
      operationId: login
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginState'
        required: true
      responses:
        default:
          description: default response
          content:
            application/json: {}
      summary: Login
      x-summary-source: derived
  /logoutothersessions:
    get:
      tags:
      - Authentication
      summary: Logout current user's other sessions
      description: 'Logs out the current user''s other sessions from Frontdoor if Locally authenticated.

        The User will not be logged out of their current Session.'
      operationId: logoutothersessions
      responses:
        '200':
          description: Logout successful
  /logout:
    get:
      tags:
      - Authentication
      summary: Logout current user
      description: 'Logs out the current user from Frontdoor if Locally authenticated.

        If SSO authenticated, will logout at the Apptio ping federate level using SLO.


        Optional Query Parameters:

        code: HTTP Code to pass through. Defaults to 302

        redirectToUrl (Deprecated): URL to send user to after logout. This query parameter is ignored. If a redirectUrl is needed that can be set in the domain settings

        The following Query parameters are only used when logging out with the intention to start an impersonated session

        environmentId: Sets environmentId for the Environment the user should be redirected to after login

        applicationId: Sets applicationId for the Application the user should be redirected to after login

        impersonate: Sets impersonation for login page. Defaults to false

        openToken: If the supplied openToken matches the User''s current cookie, then logout proceeds normally, if it does not

        the User will not be logged out of their current Session, but we will attempt to clear the Session for the supplied token if it exists'
      operationId: logout
      parameters:
      - name: httpCode
        in: query
        schema:
          type: integer
          format: int32
          default: 302
      - name: redirect
        in: query
        schema:
          type: string
      - name: environmentId
        in: query
        schema:
          type: string
      - name: applicationId
        in: query
        schema:
          type: string
      - name: impersonate
        in: query
        schema:
          type: boolean
      - name: logoutMessage
        in: query
        schema:
          type: string
      - name: openToken
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Logout successful
        '302':
          description: Redirect
        '401':
          description: Only when called from login - user provisioning failed
  /service/serviceaccesskeylogin:
    post:
      tags:
      - Authentication
      summary: Headless Service Accesskey login
      description: 'JSON Parameters:

        keyAccess: Access Key to use for login

        keySecret: Secret Key to use for login


        Returns:

        Frontdoor authentication token for the user in header Apptio-Opentoken'
      operationId: serviceAccessKeyLogin
      parameters:
      - name: userToImpersonateLogin
        in: query
        schema:
          $ref: '#/components/schemas/Id'
      - name: impersonationEnvId
        in: query
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginWithAccessKey'
        required: true
      responses:
        '200':
          description: Login successful
        '400':
          description: Invalid request data submitted. Unable to log user in
  /service/nonuilogin:
    post:
      tags:
      - Authentication
      summary: Headless login
      description: 'Headless Local login without browsers. This is used for server to server calls.


        JSON Parameters:

        ping_uname: Username to use for login

        ping_pwd: Password to use for login. Be sure to escape JSON special characters (\, ") to ensure valid payload.

        consent-accepted: (Optional) If the authentication domain requires consent from User, this must be value ''yes''


        Returns:

        Frontdoor authentication token for the user in header Apptio-Opentoken'
      operationId: nonUILogin
      parameters:
      - name: userToImpersonateLogin
        in: query
        schema:
          $ref: '#/components/schemas/Id'
      - name: impersonationEnvId
        in: query
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Login'
        required: true
      responses:
        '200':
          description: Login successful
        '400':
          description: Invalid request data submitted. Unable to log user in
  /service/apikeylogin:
    post:
      tags:
      - Authentication
      summary: Headless Apikey login
      description: 'Headless Local Apikey login without browsers. This is used for server to server calls.


        JSON Parameters:

        keyAccess: Access Key to use for login

        keySecret: Secret Key to use for login


        Returns:

        Frontdoor authentication token for the user in header Apptio-Opentoken'
      operationId: apiKeyLogin
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginWithApiKey'
        required: true
      responses:
        '200':
          description: Login successful
        '400':
          description: Invalid request data submitted. Unable to log user in
  /api/user/getresettoken:
    post:
      tags:
      - Authentication
      summary: Request a Password Reset for a User
      description: 'Requests a Password Reset for a User.

        Generates one-time token to reset a users password that will expire in 24 hrs. An email will be sent to the user with the reset token.


        JSON Parameters:

        login: Login of the User to request a password reset for

        domain: Domain of the User to request a password reset for


        Constraints:

        SSO Users cannot have their password reset through Apptio'
      operationId: requestPasswordReset
      parameters:
      - name: APPTIO_LANGUAGE
        in: cookie
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserResetPassword'
        required: true
      responses:
        '200':
          description: Token created
        '400':
          description: User is SSO-based Or does not have a valid email address set
        '404':
          description: User or Domain specified does not exist
  /api/user/resetpassword:
    post:
      tags:
      - Authentication
      operationId: resetPassword
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetUserPassword'
        required: true
      responses:
        default:
          description: default response
          content:
            text/plain: {}
            application/json: {}
      summary: Reset password
      x-summary-source: derived
  /resetpassword/{token}:
    get:
      tags:
      - Authentication
      operationId: resetPasswordUsingToken
      parameters:
      - name: token
        in: path
        required: true
        schema:
          maxLength: 2147483647
          minLength: 1
          type: string
      - name: reset
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Reset password using token
      x-summary-source: derived
  /service/servicelogin:
    post:
      tags:
      - Authentication
      summary: Service login
      description: 'This is used for akp service login.


        JSON Parameters:


        Returns:

        Frontdoor authentication token for the service in header Apptio-Opentoken'
      operationId: serviceLogin
      parameters:
      - name: userToImpersonateLogin
        in: query
        schema:
          $ref: '#/components/schemas/Id'
      - name: impersonationEnvId
        in: query
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceLogin'
        required: true
      responses:
        '200':
          description: Login successful
        '400':
          description: Invalid request data submitted. Unable to log service in
  /singlelogin:
    post:
      tags:
      - Authentication
      operationId: singleLogin
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/LoginState'
        required: true
      responses:
        default:
          description: default response
          content:
            application/json: {}
      summary: Single login
      x-summary-source: derived
  /sso/spdrop:
    get:
      tags:
      - Authentication
      operationId: spSSOLoginDrop
      parameters:
      - name: code
        in: query
        schema:
          type: string
      - name: state
        in: query
        schema:
          type: string
      - name: error_description
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            text/html: {}
      summary: Sp SSO login drop
      x-summary-source: derived
components:
  schemas:
    StringSetParam:
      type: object
    LoginState:
      type: object
      properties:
        page:
          type: string
        successMessage:
          $ref: '#/components/schemas/FDErrorMessage'
        errorMessage:
          $ref: '#/components/schemas/FDErrorMessage'
        requestId:
          type: string
        destinationUrl:
          type: string
        domain:
          type: string
        username:
          type: string
        password:
          type: string
          writeOnly: true
        loginRedirect:
          type: string
        environmentId:
          type: string
          format: uuid
        applicationId:
          type: string
          format: uuid
        appTypes:
          type: string
        consentUrl:
          type: string
        consentAccepted:
          type: boolean
        impersonate:
          type: boolean
        impersonateUser:
          type: string
        i18nEnabled:
          type: boolean
        hasMultipleLanguages:
          type: boolean
        lang:
          type: string
        acceptOtherLang:
          type: boolean
        viewportWidth:
          type: integer
          format: int32
        viewportHeight:
          type: integer
          format: int32
        stateNonce:
          type: string
        codeVerifier:
          type: string
        logoUrl:
          type: string
        faviconUrl:
          type: string
        logoWideUrl:
          type: string
        oauthClientName:
          type: string
        oauthScopes:
          type: array
          items:
            $ref: '#/components/schemas/EnvUserRolesScoped'
        oauthClientId:
          type: string
        oauthCodeChallenge:
          type: string
        oauthCodeChallengeMethod:
          type: string
    Id:
      required:
      - id
      type: object
      properties:
        id:
          type: string
    LoginWithApiKey:
      required:
      - keyAccess
      - keySecret
      type: object
      properties:
        keyAccess:
          type: string
          format: uuid
        keySecret:
          type: string
    ExchangeCode:
      type: object
      properties:
        code:
          type: string
    ServiceLogin:
      type: object
      properties:
        tokenString:
          type: string
    Login:
      type: object
      properties:
        ping_uname:
          type: string
        ping_pwd:
          type: string
        consent-accepted:
          type: string
        environment:
          type: string
        customer:
          type: string
    UserResetPassword:
      type: object
      properties:
        login:
          type: string
        domain:
          type: string
        previousToken:
          type: string
    ChangeUserPassword:
      required:
      - pdw1
      - pwd2
      type: object
      properties:
        changeSelf:
          type: boolean
        login:
          type: string
        curr_pwd:
          type: string
        pdw1:
          type: string
        pwd2:
          type: string
    EnvUserRolesScoped:
      type: object
      properties:
        envId:
          type: string
        envName:
          type: string
        customerName:
          type: string
        roles:
          type: array
          items:
            type: string
    LoginWithAccessKey:
      required:
      - keyAccess
      - keySecret
      type: object
      properties:
        keyAccess:
          type: string
          format: uuid
        keySecret:
          type: string
    FDErrorMessage:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/Id'
        error:
          type: string
        translationKey:
          type: string
        substitutions:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
    ResetUserPassword:
      required:
      - login
      - pdw1
      - pwd2
      - token
      type: object
      properties:
        changeSelf:
          type: boolean
        login:
          maxLength: 2147483647
          minLength: 1
          type: string
        curr_pwd:
          type: string
        pdw1:
          type: string
        pwd2:
          type: string
        token:
          maxLength: 2147483647
          minLength: 1
          type: string
        operation:
          type: string