The Arrivals API decides and records entry into an area. Create Arrival checks a client's scheduled events and
pricing plans against an area and writes one arrival whatever it finds about the client: GRANTED when the client
may enter, DENIED when something stands in the way, with everything the engine found recorded on the arrival
itself. Every answered Create Arrival call therefore ends in exactly one arrival: who arrived, where (the area and
the entrance), what the engine found (eligibilityDetails), and whether access was given (status).
A granted arrival's Pricing Plans benefit is redeemed just afterwards, asynchronously. A scheduled event's attendance isn't marked by Arrivals: a business that wants it marked sets up an automation on the "Client arrives" trigger. When an arrival is denied, site collaborators see why from the arrival's own issues and may let the client in anyway with Override Arrival as Granted. That's the one change an arrival receives through this API.
The API has two services on the same arrival entity:
With the Arrivals API, you can:
status GRANTED means the client is
in, and the response carries their name and picture to show it.status, and to overrides through
Arrival Updated.A 200 from Create Arrival, or from Create Arrival By Credential which calls it, always returns an arrival. Read
arrival.status: GRANTED means the client is in. DENIED means the engine found an issue that declines, and the
arrival carries it in eligibilityDetails. Anything about the client is a 200 with DENIED, never an error.
Each issue is in one place:
eligibilityDetails.issues: NO_ELIGIBLE_GRANT (nothing the client holds
admits them now) and RECENT_ENTRY. Both deny, and the status is derived from them.INTAKE_FORM_MISSING isn't
reported and eligibilityDetails.missingIntakeForms is always empty.PLAN_NOT_ACTIVE, NOT_ENOUGH_BALANCE,
OUTSIDE_ACCESS_HOURS, or USAGE_LIMIT_REACHED on a plan benefit, and PENDING_CONFIRMATION on a scheduled
event. The plan values follow Pricing Plans' own words.A call fails, and nothing is recorded, in these cases only:
BAD_SIGNATURE or TOKEN_REVOKED. Show these as "invalid pass" or "refresh your
pass".CONTACT_NOT_FOUND, ENTRANCE_NOT_FOUND, or AREA_ARCHIVED.
Reload the area picker, or the contact.UNAVAILABLE
(PRICING_PLANS_UNAVAILABLE or CONTACTS_UNAVAILABLE). The engine couldn't decide, so offer site collaborators
"try again" or "let in anyway". A reader at an entrance applies its own fallback. Only Create Arrival by contact
ID with denialOverride, when a site user has decided, writes the arrival in this case: granted with the outage
in its issues, no plan benefit, nothing redeemed, and without Contacts no name or picture.Check Eligibility and Check Eligibility By Credential don't fail on an outage. Pricing Plans or Contacts not
answering is reported as PRICING_PLANS_UNAVAILABLE or CONTACTS_UNAVAILABLE in eligibilityDetails.issues, with
DENIED unless something else admits the client.
Only a site user (the site owner or a site collaborator) may let a client in against a denial. A reader at an
entrance, or an app with no Wix user on the call, fails with OVERRIDE_NOT_ALLOWED. There are two ways:
overrideReason. It
moves the status to GRANTED and redeems the benefit the denial's evaluation found, so it can spend a credit. The
client isn't evaluated again: eligibilityDetails stays as it was, and its issues hold what was overridden. It
doesn't check RECENT_ENTRY either, so look for the client's recent grants in this area first and ask the site
user to confirm before offering it. Query GRANTED arrivals by contactDetails.contactId and area.id, with a
createdDate lower bound 24 hours ago (a filter on status needs one); one is recent when its overriddenDate,
or its createdDate if it has none, is within the last 15 minutes. Any denied arrival may be overridden, one a reader wrote included.denialOverride on Create
Arrival, with an optional reason. The engine evaluates as always, and a denial is written GRANTED at once, with
its issues and the reason, exactly as an override would leave it.When site collaborators decline, or don't act, no call is made: the denied arrival is already the final record. When the client's standing changes after a denial (a plan was sold at the desk, or a booking was approved), call Create Arrival again. The engine evaluates afresh and writes a new arrival, and the denied arrival stays on record.
There is no client idempotency key: the arrival ID is the key.
denialOverride onto a DENIED arrival: it grants that arrival as Override Arrival as Granted would.DENIED arrival with RECENT_ENTRY. That covers a retried scan after a lost
response, a client stepping out and back in, and a guest on the same pass. Site collaborators choose "already in"
(no call) or "let in anyway" (the override, which spends a credit).UNAVAILABLE included, wrote nothing and is safe to retry.A guest admitted on a client's pass is recorded as an arrival of the client, and a second credit is spent. Arrivals
per contact therefore count the entries the contact paid for, not their visits. Such an arrival is GRANTED with
RECENT_ENTRY in eligibilityDetails.issues and overriddenBy set.
It's important to note the following points before starting to code:
area.entranceId; the server finds the area and keeps both, with the names they had at the time. Get entrance IDs
from the Areas API.policy.scheduledEventsPolicy.entryGrantingAppIds names the
event's app (Areas API), which is empty by default. Elsewhere a booking doesn't admit, and the client is evaluated
on their plans only.contactDetails), so
showing who came in needs no Contacts read. It's a snapshot: a later change in Contacts doesn't update it, except a
privacy deletion of the contact, which replaces the names with **** and removes the picture.eligibilityDetails and overrideReason say why a client wasn't eligible, so they're returned only
to callers with the SCOPE.ARRIVALS.READ-ELIGIBILITY-DETAILS permission scope. Without it, an arrival comes back
with status and no reason.area.id and area.entranceId, with
their names and the area's locationId as they were at the time). The area's entry window decides which
scheduled events admit.source.identifiedBy).scheduledEventsPolicy.entryGrantingAppIds names the event's app, a scheduled event the client is booked into admits them (scheduledEvent, the calendar
event). Nothing is redeemed for one, and Arrivals marks no attendance; a business that wants the booking marked
attended sets up an automation on the "Client arrives" trigger.planBenefit), a credit pack or an unlimited plan, told apart
by type. Every benefit is redeemed, asynchronously, after the person is let in; a credit pack spends a credit.
When several admit, an unlimited plan is taken before a credit pack, and among credit packs the one that ends
soonest (a plan that never ends comes last), then the one with the lowest balance, then the one bought first (the
rule on planBenefit).
Balances are read from Pricing Plans, never from an arrival. Benefits are held in
Benefit Programs pools
(planBenefit.poolId).eligibilityDetails.missingIntakeForms is always empty, and INTAKE_FORM_MISSING isn't reported.contactDetails.contactId), whose name and picture the arrival
snapshots. A site member is looked up through their contact.NO_ELIGIBLE_GRANT, RECENT_ENTRY, or, on an arrival a site
user let in during an outage or in a Check Eligibility answer, PRICING_PLANS_UNAVAILABLE or
CONTACTS_UNAVAILABLE) in eligibilityDetails.issues. The status is derived from these.PLAN_NOT_ACTIVE, NOT_ENOUGH_BALANCE, OUTSIDE_ACCESS_HOURS, or USAGE_LIMIT_REACHED; PENDING_CONFIRMATION, and
OUTSIDE_ENTRY_WINDOW on an event listed only by a Check Eligibility what-if with scheduledEventSearchWindow.issues, planBenefits, and scheduledEvents), kept on the arrival for callers with the SCOPE.ARRIVALS.READ-ELIGIBILITY-DETAILS permission
scope, and returned by Check Eligibility in its response.GRANTED or DENIED. A grant the engine would not have made on its own carries overriddenBy
and, if the site user gave a reason, overrideReason.NO_ELIGIBLE_GRANT
means none of the client's grants admits them now; a granted arrival records the one that did in planBenefit or scheduledEvent.source.createdBy, who let the person in against a denial is overriddenBy), recorded on the
arrival as one of two: a plan benefit
(a Pricing Plans credit pack or unlimited plan, with its type) or a scheduled event (the session they
were booked into, with nothing to redeem). Set on a granted arrival; on an override, the benefit or event the
engine had found.GRANTED on the evaluation the arrival was denied with, and its benefit is redeemed. When a site user decides before the
call, denialOverride on Create Arrival leaves the same record in one step.Last updated: 30 November 2026