{
  "opencollection": "1.0.0",
  "info": {
    "name": "GetAccept Archive Others API",
    "version": "1.6"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://app.getaccept.com/oauth2/authorize",
      "accessTokenUrl": "https://app.getaccept.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Others",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List folders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getaccept.com/v1/folders",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Show folders of a specific type: archive or template"
              }
            ]
          },
          "docs": "List and get details of existing folders in GetAccept."
        },
        {
          "info": {
            "name": "Get folder details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getaccept.com/v1/folders/:folderId",
            "params": [
              {
                "name": "folderId",
                "value": "",
                "type": "path",
                "description": "Folder ID"
              }
            ]
          },
          "docs": "Get subfolder and current path for a specific folder."
        },
        {
          "info": {
            "name": "List notifications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getaccept.com/v1/notifications"
          },
          "docs": "List notification for current user"
        },
        {
          "info": {
            "name": "When a document has been rejected",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getaccept.com/v1/subscriptions/events/rejected",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Triggers when a document has been rejected by any of the recipients"
        },
        {
          "info": {
            "name": "When a document has been reviewed",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getaccept.com/v1/subscriptions/events/reviewed",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Triggers when a document has been reviewed by any of the recipients"
        },
        {
          "info": {
            "name": "When a document has been signed",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getaccept.com/v1/subscriptions/events/signed",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Triggers when a document has been signed by all signing parties"
        }
      ]
    }
  ],
  "bundled": true
}