---
updatedAt: 2025-06-11T21:40:48.000Z
agentTools:
  projectIndex: https://developers.fireberry.com/llms.txt
---

# Get all Accounts

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fireberry-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fireberry.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "tokenid"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/record/account": {
      "get": {
        "summary": "Get all Accounts",
        "description": "",
        "operationId": "get-all-accounts",
        "parameters": [
          {
            "name": "pagesize",
            "in": "query",
            "description": "The maximum number of records displayed per page, cannot exceed 50.",
            "schema": {
              "type": "string",
              "default": "50"
            }
          },
          {
            "name": "pagenumber",
            "in": "query",
            "description": "The number of the page displayed, cannot exceed 10.",
            "schema": {
              "type": "string",
              "default": "1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": true,\n    \"data\": {\n        \"PrimaryKey\": \"accountid\",\n        \"PrimaryField\": \"accountname\",\n        \"Total_Records\": 1,\n        \"Page_Size\": 50,\n        \"Page_Number\": 1,\n        \"Records\": [Data about all of the accounts including all their fields and values]\n    },\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"Invalid Object Name\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Message": {
                      "type": "string",
                      "example": "Invalid Object Name"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```