openapi: 3.1.0 info: title: Appmixer Accounts Authentication API description: The Appmixer REST API provides programmatic access to manage workflows, users, accounts, apps/connectors, files, data stores, insights, and people tasks within the Appmixer embedded iPaaS platform. The API allows you to access all the features that the Appmixer UI works with. version: 6.1.0 contact: name: Appmixer url: https://www.appmixer.com/ license: name: Proprietary url: https://www.appmixer.com/terms-and-conditions servers: - url: https://api.{tenant}.appmixer.cloud description: Appmixer Cloud Tenant API variables: tenant: default: YOUR_TENANT description: Your Appmixer tenant identifier security: - bearerAuth: [] tags: - name: Authentication description: User authentication and token management paths: /user/auth: post: operationId: authenticateUser summary: Appmixer Authenticate user description: Sign in a user with credentials and obtain an access token for authenticating subsequent API requests. security: [] requestBody: required: true content: application/json: schema: type: object required: - username - password properties: username: type: string description: The user's email address or username password: type: string description: The user's password responses: '200': description: Authentication successful content: application/json: schema: type: object properties: token: type: string description: Access token for API authentication user: $ref: '#/components/schemas/User' '401': description: Invalid credentials tags: - Authentication components: schemas: User: type: object properties: id: type: string username: type: string email: type: string token: type: string plan: type: string securitySchemes: bearerAuth: type: http scheme: bearer description: 'Access token obtained from the /user/auth endpoint. Pass as Authorization: Bearer {token} header.'