POST

Query Arrivals


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of up to 100 arrivals, given the provided paging, filtering, and sorting.

Query Arrivals runs with these defaults, which you can override:

  • id is sorted in ASC order
  • cursorPaging.limit is 50

Supported filter and sort fields: id, contactDetails.contactId, source.identifiedBy, area.id, area.locationId, area.entranceId, eligibilityDetails.issues, planBenefit.poolId, planBenefit.benefitKey, planBenefit.type, status, createdDate. Filter only, not sort: overriddenBy.wixUserId. eligibilityDetails.issues is a list: filter it with $hasSome or $hasAll, for example { "eligibilityDetails.issues": { "$hasSome": ["INTAKE_FORM_MISSING"] } } for the arrivals where a form was missing; filtering on it requires the SCOPE.ARRIVALS.READ-ELIGIBILITY-DETAILS permission scope, like reading it. An arrival a site user overrode has status GRANTED and overriddenBy, and an overrideReason only when a site user gave one. To find overrides, filter overriddenBy.wixUserId with a createdDate lower bound: { "overriddenBy.wixUserId": { "$exists": true }, "createdDate": { "$gte": "2026-11-09T00:00:00Z" } } finds every override since that time, and a user ID in place of $exists finds those of one site user.

status, source.identifiedBy, eligibilityDetails.issues, planBenefit.poolId, planBenefit.benefitKey, planBenefit.type and overriddenBy.wixUserId have no index. A filter on any of them, or a sort on any but overriddenBy.wixUserId (filter only), must also have a lower bound on createdDate ($gt or $gte) no more than 400 days ago, at the top level or in an $and; otherwise the request fails with CREATED_DATE_LOWER_BOUND_REQUIRED. A bound inside an $or counts only when every branch has one. A next page, requested with its cursor, is not checked again.

To learn about working with Query methods, see API Query Language and Sorting and Paging.

PropertyFiltersSort
id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
contactDetails.contactId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
source.identifiedBy$eq, $ne, $in, $existsSort: ASC, DESC
area.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
area.locationId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
area.entranceId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
eligibilityDetails.issuesSort: ASC, DESC
planBenefit.poolId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
planBenefit.benefitKey$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
planBenefit.type$eq, $ne, $in, $existsSort: ASC, DESC
status$eq, $ne, $in, $existsSort: ASC, DESC
createdDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
overriddenBy.wixUserId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
SCOPE.ARRIVALS.READ-ARRIVALS
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/arrivals/v1/arrivals/query

Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?