Basker Docs

Query parameters

Query controls accepted by list and single-record Partners API endpoints

List endpoints accept filtering, sorting, pagination, field-selection, relationship, locale, and draft controls. Single-record endpoints accept the subset shown below.

Common parameters

ParameterListSingleWhat it does
depthYesYesControls how many levels of related records are expanded. Use 0 for IDs only.
localeYesYesRequests a locale, or all for all locales.
fallbackLocaleYesYesSets the locale used when a translated value is missing.
draftYesYesIncludes the latest draft version when true. Defaults to false.
selectYesYesChooses fields on the main record.
populateYesYesChooses fields on expanded related records, keyed by collection slug.
joinsYesYesControls collection joins, including their count and returned records.

These parameters use nested bracket notation where appropriate:

?depth=1&locale=en
?select[title]=true&select[slug]=true
?populate[venues][title]=true&populate[venues][city]=true

In API version 2026-02, many collections use a compact default select and populate shape. Supplying either parameter replaces that part of the default shape, so explicitly request every field your integration needs. Version 2025-07 does not apply the current collection defaults.

Collection joins

Use joins to include, count, or suppress records exposed through a collection join:

?joins[events][count]=true
?joins[events][limit]=5&joins[events][sort]=-startDate
?joins[events]=false

A join can accept count, limit, page, sort, and a nested where filter. Available join names depend on the collection schema; use field discovery before relying on one.

List-only parameters

ParameterDefaultWhat it does
limit10Sets the maximum records returned per page.
page1Selects a page. Pages are numbered from 1.
sortCollection orderSorts by one or more fields. Prefix a field with - for descending order.
whereNoneFilters standard fields.
attributeWhereNoneFilters configured custom attributes.
paginationtrueSet to false to request all matching records without page metadata.
?limit=25&page=2&sort=-startDate,title

Standard-field filters

Express where filters with bracket notation. A JSON string assigned directly to where is not parsed as a filter object.

?where[title][equals]=Swan%20Lake
?where[startDate][greater_than_equal]=2026-10-01T00:00:00.000Z
?where[and][0][status][equals]=published&where[and][1][venue][equals]=RECORD_ID

Common operators include equals, not_equals, in, contains, like, exists, greater_than, greater_than_equal, less_than, and less_than_equal. Whether an operator is meaningful depends on the field type.

Configured-attribute filters

Collections with configured custom attributes also accept attributeWhere. Prefix the configured field key with custom.:

?attributeWhere[custom.import_id][equals]=EVT-1042
?attributeWhere[custom.priority][greater_than_equal]=10

Supported configured-attribute operators are equals, not_equals, in, contains, like, exists, gt, gte, lt, and lte. You can combine attributeWhere with where; both filters must match.

The lower-level whereOperators option is reserved for advanced filter construction. Do not depend on its shape unless Basker support has supplied the matching contract for your integration.

Write requests

Create and update endpoints accept depth, locale, fallbackLocale, draft, select, populate, and joins for controlling the returned record. The bulk configured-field endpoints have their own targeting and draft controls; see Bulk updating configured fields.

On this page