---
title: "Copy of Query"
method: POST
path: "/api/query-1"
---

# Copy of Query

`POST /api/query-1`

## Request

- Base URL: `https://api.fireberry.com`
- URL: `https://api.fireberry.com/api/query-1`
- Auth: API key in header `tokenid`

## Request body

- object
  - `objecttype` integer, required: Use the number of the object you'd like to search for records within.
  - `fields` string: A list of the fields you'd like to include in the response data. Use the system name of each field, and separate each field name using a comma.
  - `query` string: The query you'd like to search for within the specified object.
  - `sort_by` string: The system name of the field to sort the results by.
  - `sort_type` 'asc' | 'desc': Select if you'd like the results to be sorted in ascending or descending order.
  - `page_size` integer: The maximum number of records displayed per page, cannot exceed 50.
  - `page_number` integer: The number of the page displayed, cannot exceed 10.

## Response `200`

200

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `85878a2342b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireberry/apis/fireberry-api/changes/api/query-1/post.md)

---

[API](https://skmtc.dev/fireberry/apis/fireberry-api.md) - [All operations](https://skmtc.dev/fireberry/apis/fireberry-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireberry/apis/fireberry-api/revisions/85878a2342b1?raw)
