{
  "opencollection": "1.0.0",
  "info": {
    "name": "Natural Agent Keys Parties API",
    "version": "0.2.0"
  },
  "items": [
    {
      "info": {
        "name": "Parties",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get party",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/parties/me",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the current party"
        },
        {
          "info": {
            "name": "Update party",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.natural.com/parties/me",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update the current party"
        },
        {
          "info": {
            "name": "List party members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/parties/me/members",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List active members of the party. Available for business parties."
        },
        {
          "info": {
            "name": "Get party compliance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/parties/:partyId/compliance",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partyId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a party's current compliance status"
        },
        {
          "info": {
            "name": "Set party handle",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.natural.com/parties/me/handle",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Set or rename your party's handle; it can never be cleared"
        },
        {
          "info": {
            "name": "Get party approval limits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/parties/me/limits",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the party's approval limits"
        },
        {
          "info": {
            "name": "Set party approval limits",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.natural.com/parties/me/limits",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Set the party's approval limits"
        },
        {
          "info": {
            "name": "Disable party approval limits",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.natural.com/parties/me/limits",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Disable all approval limits for the party"
        },
        {
          "info": {
            "name": "Remove party member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.natural.com/parties/me/members/:userId",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a member from the party"
        }
      ]
    }
  ],
  "bundled": true
}