{
  "opencollection": "1.0.0",
  "info": {
    "name": "dotloop Public API v2 Account Participants 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": "Participants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List participants.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/participant",
            "params": [
              {
                "name": "profile_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "loop_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists the participants on a loop (scope loop:read)."
        },
        {
          "info": {
            "name": "Add a participant.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/participant",
            "params": [
              {
                "name": "profile_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "loop_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a participant to a loop (scope loop:write)."
        },
        {
          "info": {
            "name": "Get a participant.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/participant/:participant_id",
            "params": [
              {
                "name": "profile_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "loop_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "participant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a single participant on a loop (scope loop:read)."
        },
        {
          "info": {
            "name": "Update a participant.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/participant/:participant_id",
            "params": [
              {
                "name": "profile_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "loop_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "participant_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a participant on a loop (scope loop:write)."
        },
        {
          "info": {
            "name": "Remove a participant.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/participant/:participant_id",
            "params": [
              {
                "name": "profile_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "loop_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "participant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Removes a participant from a loop (scope loop:write)."
        }
      ]
    }
  ],
  "bundled": true
}