{
  "opencollection": "1.0.0",
  "info": {
    "name": "GetAccept Archive Contacts 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": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getaccept.com/v1/contacts",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter list on status"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "How to sort results"
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "Sort order of results"
              },
              {
                "name": "showteam",
                "value": "",
                "type": "query",
                "description": "Include documents from team members"
              },
              {
                "name": "showall",
                "value": "",
                "type": "query",
                "description": "Include all contacts from entity"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Start list from record x"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records to list"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search string to match first_name, last_name or email"
              }
            ]
          },
          "docs": "Receive a list of available contact for the current entity.\nAll contacts added as a recipient are saved as a contact and is available for later use on that entity."
        },
        {
          "info": {
            "name": "Create contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getaccept.com/v1/contacts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This will create a new contact in the database for the current entity"
        },
        {
          "info": {
            "name": "Delete contact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.getaccept.com/v1/contacts/:contactId",
            "params": [
              {
                "name": "contactId",
                "value": "",
                "type": "path",
                "description": "Contact ID"
              }
            ]
          },
          "docs": "Delete a contact. Contacts who are connected to active or signed documents cannot be deleted."
        }
      ]
    }
  ],
  "bundled": true
}