{
  "opencollection": "1.0.0",
  "info": {
    "name": "Scrive Document Access Control e-ID Authentication API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://oauth2.scrive.com/oauth2/authorization",
      "accessTokenUrl": "https://oauth2.scrive.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "e-ID Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Set the e-ID method required to view",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://scrive.com/api/v2/documents/:document_id/:signatory_id/setauthenticationtoview",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "signatory_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Set the e-ID method required to view"
        },
        {
          "info": {
            "name": "Set the e-ID method required to sign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://scrive.com/api/v2/documents/:document_id/:signatory_id/setauthenticationtosign",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "signatory_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Set the e-ID method required to sign"
        },
        {
          "info": {
            "name": "Set the e-ID method required to view archived",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://scrive.com/api/v2/documents/:document_id/:signatory_id/setauthenticationtoviewarchived",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "signatory_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Set the e-ID method required to view archived"
        }
      ]
    }
  ],
  "bundled": true
}