AMCS Group Auth API

The Auth API from AMCS Group — 2 operation(s) for auth.

GitHub OpenAPI

Operations 2

POST /authTokens Auth by Private Key #
POST /visionai/api/authTokens Auth by Private Key #

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/amcs-group:amcs-group-auth-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

amcs-group-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AMCS Pay External Auth API
  version: external
  description: '# Getting Started


    ## Document Purpose and Scope


    The AMCS Pay REST API endpoints are technically described in this document. This document''s goal is to instruct readers on how to interface with the AMCS Pay REST API.


    ## About AMCS Pay


    AMCS Pay offers waste & recycling operators feature-rich payment services that broaden their ability to compete in a rapidly evolving marketplace. The services include card payments, ACH payments, Google Pay, Apple Pay, and many alternative payment methods. AMCS Pay supports multiple recognized industry partners such as Global Payments, ACI Worldwide etc.


    ## Communicating to AMCS Pay API


    A calling application must first sign up as a Tenant. A private key is created after successful registration and will be used as the Personal Access Token (PAT).


    The Tenant Private Key is then supplied during authentication and authorization through the ("/authTokens") endpoint. This creates a cookie, which needs to be tracked in a cookie container. Subsequent calls to the REST API will then use this cookie to authenticate and authorize requests.'
servers:
- url: https://eu1-pay-dev.amcsplatform.com/
  description: AMCSPay Developer Environment
security:
- cookieAuth: []
tags:
- name: Auth
paths:
  /authTokens:
    post:
      tags:
      - Auth
      summary: Auth by Private Key
      description: 'This endpoint is used for authentication and authorisation of a calling application by supplying the Tenant Private Key in the privateKey property. When successful, Platform.PAY.SessionToken is added to the cookie.


        ## Request


        | **Property** | **Description** |

        | --- | --- |

        | PrivateKey | This is a Personal Access Token (PAT), generated during Tenant Registration. |


        ## Response

        Additional fields from the response, other from the one below, can be disregarded.


        | **Property** | **Description** |

        | --- | --- |

        | AuthResult | The authentication and authorization result. Returns "ok" if successful otherwise returns "invalidCredentials".'
      security: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayUserCredentials'
      responses:
        '200':
          description: Ok
          headers:
            Set-Cookie:
              schema:
                type: string
                example: Platform.PAY.SessionToken=abcde12345; Path=/; HttpOnly
                description: Subsequent calls to the REST API will use this cookie to authenticate and authorize requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayLoginResponse'
      operationId: postAuthTokens
      x-operation-id-source: derived
  /visionai/api/authTokens:
    post:
      tags:
      - Auth
      summary: Auth by Private Key
      description: 'This endpoint is used for authentication and authorisation of a calling application by supplying the Tenant Private Key in the privateKey property. When successful, Platform.VisionAI.SessionToken is added to the cookie.


        ## Request


        | **Property** | **Description** |

        | --- | --- |

        | PrivateKey | This is a Personal Access Token (PAT), generated during Tenant Registration. |


        ## Response

        Additional fields from the response, other from the one below, can be disregarded.


        | **Property** | **Description** |

        | --- | --- |

        | AuthResult | The authentication and authorization result. Returns "ok" if successful otherwise returns "invalidCredentials".'
      security: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCS.IoT.UserCredentials'
      responses:
        '200':
          description: Ok
          headers:
            Set-Cookie:
              schema:
                type: string
                example: Platform.VisionAI.SessionToken=abcde12345; Path=/; HttpOnly
                description: Subsequent calls to the REST API will use this cookie to authenticate and authorize requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCS.IoT.LoginResponse'
      operationId: postVisionaiApiAuthTokens
      x-operation-id-source: derived
components:
  schemas:
    AMCSPayUserCredentials:
      type: object
      required:
      - privateKey
      properties:
        privateKey:
          type: string
          example: 1zEFtwJQE0cmKUE3AvnzBbm5
      additionalProperties: false
    AMCSPayLoginResponse:
      type: object
      properties:
        authResult:
          type: string
          example: ok
        userName:
          type:
          - string
          - 'null'
          example: ADMIN01
        userIdentity:
          type:
          - string
          - 'null'
          example: ADMIN
        sysUserId:
          type:
          - integer
          - 'null'
          format: int32
          example: 3
        userGuid:
          type:
          - string
          - 'null'
          format: uuid
          example: 607e37cd-4f51-4148-af23-4459b74fc3b2
        companyOutletId:
          type:
          - integer
          - 'null'
          format: int32
          example: 10
        companyOutletGuid:
          type:
          - string
          - 'null'
          format: uuid
          example: 5feaaae5-7733-4e45-ac39-87d46cf138e0
        stayLoggedIn:
          type:
          - boolean
          - 'null'
          example: false
    AMCS.IoT.UserCredentials:
      type: object
      required:
      - privateKey
      properties:
        privateKey:
          type: string
          example: 1zEFtwJQE0cmKUE3AvnzBbm5
      additionalProperties: false
    AMCS.IoT.LoginResponse:
      type: object
      properties:
        authResult:
          type: string
          example: ok
        userName:
          type:
          - string
          - 'null'
          example: ADMIN01
        userIdentity:
          type:
          - string
          - 'null'
          example: ADMIN
        sysUserId:
          type:
          - integer
          - 'null'
          format: int32
          example: 3
        userGuid:
          type:
          - string
          - 'null'
          format: uuid
          example: 607e37cd-4f51-4148-af23-4459b74fc3b2
        companyOutletId:
          type:
          - integer
          - 'null'
          format: int32
          example: 10
        companyOutletGuid:
          type:
          - string
          - 'null'
          format: uuid
          example: 5feaaae5-7733-4e45-ac39-87d46cf138e0
        stayLoggedIn:
          type:
          - boolean
          - 'null'
          example: false
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: Platform.PAY.SessionToken