{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bitrix24 REST BIconnector User Consent API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "auth",
      "value": "{{auth}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Consent",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the list of agreements userconsent.agreement.list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{portal}.bitrix24.com/rest/userconsent.agreement.list",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "auth",
              "value": "{{auth}}",
              "placement": "query"
            }
          },
          "docs": "If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `userconsent.agreement.list` returns a list of agreements."
        },
        {
          "info": {
            "name": "Get the text of the agreement userconsent.agreement.text",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{portal}.bitrix24.com/rest/userconsent.agreement.text",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "auth",
              "value": "{{auth}}",
              "placement": "query"
            }
          },
          "docs": "If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `userconsent.agreement.text` returns the text of the agreement."
        },
        {
          "info": {
            "name": "Save the User Consent userconsent.consent.add",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{portal}.bitrix24.com/rest/userconsent.consent.add",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "auth",
              "value": "{{auth}}",
              "placement": "query"
            }
          },
          "docs": "If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `userconsent.consent.add` saves the user's consent."
        }
      ]
    }
  ],
  "bundled": true
}