{
  "opencollection": "1.0.0",
  "info": {
    "name": "AI ai-chat users API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/users",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Allows to filter by the search phrase over firstName, lastName, email."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Exact-match status filter."
              },
              {
                "name": "createdAtFrom",
                "value": "",
                "type": "query",
                "description": "Filter users created at or after this ISO timestamp."
              },
              {
                "name": "createdAtTo",
                "value": "",
                "type": "query",
                "description": "Filter users created at or before this ISO timestamp."
              },
              {
                "name": "updatedAtFrom",
                "value": "",
                "type": "query",
                "description": "Filter users updated at or after this ISO timestamp."
              },
              {
                "name": "updatedAtTo",
                "value": "",
                "type": "query",
                "description": "Filter users updated at or before this ISO timestamp."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Define how many items will be received in the payload per request.(default 20 items, max 1000 items)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a paginated list of internal users for the tenant. Supports search over name and email, status and creation/update date filters."
        },
        {
          "info": {
            "name": "Create a new user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.remberg.de/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new internal user. Returns 409 if the email already belongs to an internal user, or 209 if the user was created but sending the activation invite mail failed."
        },
        {
          "info": {
            "name": "Get a specific user by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user to retrieve"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves a single internal user by its unique identifier."
        },
        {
          "info": {
            "name": "Update a user by ID",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.remberg.de/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Partially updates an internal user. Returns status 209 if the user was updated but sending the email change verification mail failed."
        },
        {
          "info": {
            "name": "(Re-)send the activation invite email to a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.remberg.de/v1/users/:id/invite",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user to invite"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Sends the activation invite email to a user that has not activated their account yet. Use it to invite a newly created user or to re-send an invite whose link has expired."
        }
      ]
    }
  ],
  "bundled": true
}