{
  "opencollection": "1.0.0",
  "info": {
    "name": "dotloop Public API v2 Account Contacts API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.dotloop.com/oauth/authorize",
      "accessTokenUrl": "https://auth.dotloop.com/oauth/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-gateway.dotloop.com/public/v2/contact"
          },
          "docs": "Lists the authenticated user's contacts (scope contact:read)."
        },
        {
          "info": {
            "name": "Create a contact.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-gateway.dotloop.com/public/v2/contact",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new contact (scope contact:write)."
        },
        {
          "info": {
            "name": "Get a contact.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-gateway.dotloop.com/public/v2/contact/:contact_id",
            "params": [
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a single contact (scope contact:read)."
        },
        {
          "info": {
            "name": "Update a contact.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api-gateway.dotloop.com/public/v2/contact/:contact_id",
            "params": [
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing contact (scope contact:write)."
        },
        {
          "info": {
            "name": "Delete a contact.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-gateway.dotloop.com/public/v2/contact/:contact_id",
            "params": [
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a contact (scope contact:write)."
        }
      ]
    }
  ],
  "bundled": true
}