{
  "opencollection": "1.0.0",
  "info": {
    "name": "One Time Password SMS",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "OTP Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Sends a message including an OTP code to the given phone number",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiRoot}/one-time-password-sms/v1/send-code",
            "headers": [
              {
                "name": "x-correlator",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends an SMS with the desired message and an OTP code to the received phone number."
        },
        {
          "info": {
            "name": "Verifies the OTP received as input",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiRoot}/one-time-password-sms/v1/validate-code",
            "headers": [
              {
                "name": "x-correlator",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verifies the code is valid for the received authenticationId"
        }
      ]
    }
  ],
  "bundled": true
}