---
agentTools:
  projectIndex: https://haventec.readme.io/llms.txt
---

# Start Silent MFA Session

Silent authentication is a way to add multi-factor authentication to your application without disrupting your users experience and minimal changes to your application.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Authentication MFA",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://api.haventec.com/authenticate/v1-2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/authenticate/mfa-session": {
      "post": {
        "summary": "Start Silent MFA Session",
        "description": "",
        "operationId": "silent-authentication",
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "description": "API key for application",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "authKey",
                  "deviceUuid",
                  "applicationUuid"
                ],
                "properties": {
                  "authKey": {
                    "type": "string",
                    "description": "The device authKey created during user registration"
                  },
                  "deviceUuid": {
                    "type": "string",
                    "description": "The unique device id represented as a v4 UUID"
                  },
                  "applicationUuid": {
                    "type": "string",
                    "description": "The unique application id"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"sessionId\": \"32ed2263-1746-4d70-b677-1110d03c6a65\",\n  \"expiry\": \"2022-03-17T23:21:40+0000\",\n  \"authKey\": \"iutjWvM79gZAoVucmPpzMdYTHgVu/X7eTjx819fXYckmOQ4XEHRQ3lD17UFrU97p4ccgwvjMNE7IrQMMODOAR5KIiDU3pzN4tHReAnRqr8Zra3QVT7fdSlL1gXWSSZwl7IhzpgcoHgbr5QcJzOr6dzTnfttboip06wzNwLeSFRKqEDqyszfE6XzXLb8ivichPVv/CH4FHzQE1GpQKClQvBykuXv6mebk8hzXq+DZEC6GrAICXkj03hKgPThYOIIKK3+/cqQQ/XwC8+DzV8ucM5bUURO1wYDxQ/gGnD/pCrxiSIMxyuxYC0FhEH5qO1Qb7L0O23bGGkF+f5o7EURfMtVrHpc4Wk4gDDXKzGmi/clrYm2/66wzk5CVfNX5/hu1Gae+1nLD4NKwwcx+/Bcek0dr59LMqNXgcm0/pgJYwSSEzh4xANisYSQivEts6hkYS10Lk9OivsAT4X7pTeg4sQ==\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "sessionId": {
                      "type": "string",
                      "example": "32ed2263-1746-4d70-b677-1110d03c6a65"
                    },
                    "expiry": {
                      "type": "string",
                      "example": "2022-03-17T23:21:40+0000"
                    },
                    "authKey": {
                      "type": "string",
                      "example": "iutjWvM79gZAoVucmPpzMdYTHgVu/X7eTjx819fXYckmOQ4XEHRQ3lD17UFrU97p4ccgwvjMNE7IrQMMODOAR5KIiDU3pzN4tHReAnRqr8Zra3QVT7fdSlL1gXWSSZwl7IhzpgcoHgbr5QcJzOr6dzTnfttboip06wzNwLeSFRKqEDqyszfE6XzXLb8ivichPVv/CH4FHzQE1GpQKClQvBykuXv6mebk8hzXq+DZEC6GrAICXkj03hKgPThYOIIKK3+/cqQQ/XwC8+DzV8ucM5bUURO1wYDxQ/gGnD/pCrxiSIMxyuxYC0FhEH5qO1Qb7L0O23bGGkF+f5o7EURfMtVrHpc4Wk4gDDXKzGmi/clrYm2/66wzk5CVfNX5/hu1Gae+1nLD4NKwwcx+/Bcek0dr59LMqNXgcm0/pgJYwSSEzh4xANisYSQivEts6hkYS10Lk9OivsAT4X7pTeg4sQ=="
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"ERROR\",\n  \"message\": \"Invalid authentication credentials\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ERROR"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid authentication credentials"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "62d64adb2713b701eb069048:62d64adb2713b701eb069056"
}
```