{
  "opencollection": "1.0.0",
  "info": {
    "name": "Element5 Authorization API",
    "version": "2.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Authorization Submission Request (Draft)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-qa.e5.ai/wf/v2/workflows/submit-authorization",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "All the necessary information required to submit an authorization. On receipt, the API performs a quick validation (not verification) of the request for correctness. On successful validation returns a `taskId` which can be used for tracking this request. Also, the `task#queued` event is triggered."
        },
        {
          "info": {
            "name": "Authorization Submission Request Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-qa.e5.ai/wf/v2/workflows/submit-authorization/:task-id",
            "params": [
              {
                "name": "task-id",
                "value": "",
                "type": "path",
                "description": "Provide a task id to retreive the Authorization Submission Request status"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Fetch the current status of a Authorization Submission Request. It takes the `taskId`, provided by the Authorization Submission Request, as input."
        }
      ]
    }
  ],
  "bundled": true
}