{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kisi Calendars Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetch users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/users",
            "params": [
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Filter by object IDs"
              },
              {
                "name": "place_id",
                "value": "",
                "type": "query",
                "description": "Filters users that have access to given place.\n"
              },
              {
                "name": "email",
                "value": "",
                "type": "query",
                "description": "Filter by email."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Filter by group ID"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Filter by a freetext string. Properties searched: `email`, `name`, `notes`\n"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query",
                "description": "Filter by user ID or by current user if value is `me`."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort the results. Prepend `-` to sort in reverse order.\n\n`name` - sort by user name, alphabetically<br>\n`unlock` - sort by last unlock; no unlocks first, then oldest to most recent\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of objects to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of objects to offset"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch users"
        },
        {
          "info": {
            "name": "Create user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/users",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create user"
        },
        {
          "info": {
            "name": "Fetch user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch user"
        },
        {
          "info": {
            "name": "Update user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.kisi.io/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update user"
        },
        {
          "info": {
            "name": "Delete user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.kisi.io/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete user"
        },
        {
          "info": {
            "name": "Fetch current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/user",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch current user"
        },
        {
          "info": {
            "name": "Update current user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.kisi.io/user",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update current user"
        },
        {
          "info": {
            "name": "Delete current user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.kisi.io/user",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete current user"
        },
        {
          "info": {
            "name": "Fetch user OTP secret",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/user/2fa/otp_secret",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Organization users will be able to access this endpoint only if their organization has sso flow disabled.\n\nRequires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.\n"
        },
        {
          "info": {
            "name": "Activate 2FA for user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/user/2fa/activate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Organization users will be able to access this endpoint only if their organization has sso flow disabled.\n\nRequires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.\n"
        },
        {
          "info": {
            "name": "Deactivate 2FA for user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/user/2fa/deactivate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Organization users will be able to access this endpoint only if their organization has sso flow disabled.\n\nRequires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.\n"
        },
        {
          "info": {
            "name": "Fetch 2FA backup codes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/user/2fa/backup_codes",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Organization users will be able to access this endpoint only if their organization has sso flow disabled.\n\nRequires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.\n"
        },
        {
          "info": {
            "name": "Request password reset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/users/password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Organization users will be able to access this endpoint only\nif their organization has sso flow disabled.\n"
        },
        {
          "info": {
            "name": "Reset password",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.kisi.io/users/password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Organization users will be able to access this endpoint only\nif their organization has sso flow disabled.\n"
        },
        {
          "info": {
            "name": "Register user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/users/sign_up",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register user"
        }
      ]
    }
  ],
  "bundled": true
}