OpheliaDocs
Search docs⌘K
DashboardCreate an account
v3 · Reference

Objects

Every field v3 answers with: the response envelope, and the entity, offer, confirmation, missing item and session objects inside it.

Every field is optional except status. Branch on status, then read what that status carries. A field that is absent was not stated, or does not apply to this answer. What the fields tell you about an answer's quality: Know what an answer means.

The response

POST /v3/search, POST /v3/availability and every /v3/bookings route answer this one shape, except cancel and modify: they answer their own refusal body (cancel and modify).

Always
FieldCarriedWhat it is
status
always
succeeded, processing, requires_action, needs_input or failed. See Statuses.
path
when a drive was planned
live: the site was driven. recipe or recipe-search: a prepared, reviewed way of reading this site answered. unsupported: the request was refused before any drive.
reason
sometimes
A sentence about the answer: why it was refused, why it is a replay, or what a pay link waits for.
What was found
FieldCarriedWhat it is
entities[]
search; availability
The results, or the one entity read. See Entity.
candidate_count
search; bookings
How many results were read.
offers[]
availability
What is open. See Offer.
requested
sometimes, on availability
The ask the offers were read under: date, end date, time, party size as the drive set them. Absent when the read did not state it, so do not rely on it.
The booking
FieldCarriedWhat it is
booking_id
bookings
The booking (bk_). Read it with GET /v3/bookings/{booking_id}. Every booking that passed the checks has one, even one that stopped at the form or failed later. A request refused by the checks (a field rule, an offer check, commitment_refused, max_total_required, a pay-link refusal) has none.
attempt_id
bookings
The attempt (att_). Continue and abandon take it.
confirmation_number
succeeded at commit
The site's reference for the booking. Check this field, not status, to know whether something was booked. A commit can succeed with none (an RSVP, an appointment request, a free event); reason then says so.
confirmation
succeeded at commit
The site's own record. See Confirmation.
amount_cents, currency
an order that stated its total
What it cost, in the currency's minor units (12800 is $128.00), and the ISO-4217 code. Absent when the page stated no total (most reservations).
idempotent_replay
a replay
true: this is an earlier answer for the same request. No second booking was made.
cancellable, cancel_via
every booking answer
Always false, and "contact the venue directly using the confirmation on this booking" (the API's own words: the site or the place). v3 cannot cancel.
A pause
FieldCarriedWhat it is
challenge_type
requires_action
otp, card_security_code, authorize_action, payment_link or link_wallet_approval.
resumable
requires_action
true: send the code to the continue route. false: nothing is held open; follow continue_with.
continue_with
requires_action
What to do next, as a route or a sentence.
live_url
requires_action
The page the drive is waiting on.
authorized_for, action
authorize_action
The press to authorize, and what it would press. Send the booking again with authorize.authorized_for set to it and a new idempotency_key.
pay_url, pay_expires_at
payment_link, link_wallet_approval
The page the cardholder opens, or the person’s approval page in Link, and when it lapses (15 minutes for a pay link, 32 minutes for a Link approval).
missing[]
needs_input
What to add. See Missing item.

How to answer each pause: When a drive pauses.

How the answer was read
FieldCarriedWhat it is
drive_id
when a drive ran
The drive (drv_).
duration_ms
sometimes
How long the drive took.
served_by
when a drive ran
How the answer was read: from the site's form (form), from the site's own data call (wire), from a way learned on earlier drives (learned), and others.
slot_source
search; availability; bookings
Where the offers or results were read. dom or modal_dom: read from the page as it stood, so the day was not verified.
recipe
sometimes
A prepared, reviewed way of reading this site answered.
recipe_error
sometimes
That prepared way failed, and the site was driven instead. The answer beside it is still real.
assumed
sometimes
Values the drive supplied because the request named none, as {slot: value}.
slot_mismatch
sometimes
What you asked that the site's control did not take: {slot: {asked, held, why}}. The results are still real.
location_mismatch
sometimes
The same for the place, with the results address.
location_checked
when a location was asked
true: the place was verified. false: it could not be.
what
search
How the term was applied on the site, and how many results matched.
diagnosis
sometimes
The site's own reason a form could not be passed: cause, detail, alerts.
offer, booking
bookings; search at begin
The drive's report of what it saw and pressed. For display and debugging; the inner keys are not a contract, with two exceptions. booking.ALERT_BOOKING_CREATED (the site's reference, or true) is the one key to branch on: a begin drive landed on a confirmation anyway, so a booking may have been made that you did not authorize. Tell the person and check with the site. And an order at begin carries the store's total in booking.purchase.quote (Order from a store).
A failure
FieldCarriedWhat it is
error_code
failed; some processing, needs_input and requires_action; some succeeded searches and availability reads
What happened, as a stable code. See Every error code.
error
with error_code
A sentence for people. Do not parse it.
failure_class
failed
terminal: this attempt is over; whether a new one is fine depends on the error code. retryable_elsewhere: blocked, nothing committed, try again after Retry-After.

Entity

One thing found on a site. Every entity has entity_id and addressable. name, host, vertical and booking_url are usually there. The rest appear only when the page stated them.

FieldWhat it is
entity_id
Its id (ent_), scoped to your organization.
name
Its name on the site.
host
The site it was found on.
vertical
The kind of ask it was found under.
addressable
true when availability and bookings can open it by id or booking_url.
booking_url
Its own page. Send it as url to come back to it later. An entity with addressable: false has none.
price, price_amount, price_max, currency
The price as printed ($$$, $129.00), and as numbers when the page gave them.
rating, rating_scale, review_count
The rating, out of what, and how many reviews.
category, area, address, location
What it is and where.
image_url, images
Pictures.
description
The page’s own description.
times
Time labels the result showed. They are not offers: read availability for those.
availability, brand, seller
For products: stock (in_stock), maker, seller.
start, end
For events: when.
reviews[]
See Review.
attributes
Other facts the page listed, as {name: value}.
extras
For display only. Never branch on it.

Review

FieldWhat it is
rating, scale
The reviewer’s rating, and out of what.
author, date
Who wrote it, and when.
title, text
The review.

Offer

One bookable option of an entity: a time, a room rate or a ticket. A product has no offers: book it directly. What is booked is chosen by the request's datetime and party_size (and, for rooms or tiers, the type your request names): send the offer's time with its offer_id (Book or buy).

FieldWhat it is
offer_id
Its id (off_).
entity_id
The entity it belongs to.
label
The control's text: a time (7:00 PM), or a printed price for a room or tier ($258.00).
kind
replay: what the page showed. Nothing is held.
expires_at
When the offer_id stops working, at most 15 minutes after it was read. After it: 409 offer_expired.
start
When it starts, as the page stated it. When the page stated none, this is the datetime you asked, not the offer's time: read a time offer's time from label.
end
When a stay or rental ends, as stated.
price
Its price, as stated.
unit
What it is (a table, a room, a seat), as stated.
terms
Its terms, as stated (Free cancellation before October 15, 2026).
party
The party size the page said it is for.
card_required
true: the page asks for a card. false: it said no card. Absent: the page did not say.

Confirmation

The site's own record of the booking, read from its confirmation page. A reservation's keys vary by site. An order's keys are named: order_number, total, total_amount, currency, items. Each is what the receipt showed, and any of them may be absent.

A reservation
json
"confirmation_number": "PB-108554",
"confirmation": {
"reference": "PB-108554",
"screen": "confirmed",
"url": "https://opheliapractice.com/restaurant/practice-bistro"
}
An order
json
"confirmation_number": "PX-834126",
"confirmation": {
"currency": "USD",
"items": [
{ "name": "Practice Day Pack (Olive)", "price": "$64.00", "quantity": 2 }
],
"order_number": "PX-834126",
"quantity": 2,
"reference": "PX-834126",
"screen": "confirmed",
"total": "$128.00",
"total_amount": 128,
"url": "https://opheliapractice.com/shop/practice-day-pack"
},
"amount_cents": 12800,
"currency": "USD"
Order fieldWhat it is
order_number
The store's order number.
total
The total as the page printed it.
total_amount, currency
The total as a number in the currency's units (128 is $128.00), and its currency.
items[]
name, price, quantity of each line.

Missing item

Each item in missing[] on a needs_input answer. Send the request again with the value added.

FieldWhat it is
role
Where the value goes: date, authorize.max_total, selections.size, …
prompt
A question you can ask the person.
type
The kind of value.
min, max
Bounds, when there are any.
choice, values
For an item's choice: its name and the values on offer. The answer goes in selections.
json
"missing": [
{
"role": "authorize.max_total",
"prompt": "The most this order may cost, including shipping and tax, in the checkout's currency"
}
]

Session object

A connected account, as every /v3/sessions route answers it. Lists come as {"object": "list", "data": [ … ]}.

FieldWhat it is
object
v3.session
id
Its id (vss_).
site
The site’s host.
end_user
Your id for the person.
status
connecting, requires_action (waiting for the code), active, failed or disconnected. A saved account that expired or was signed out reads failed with reconnect_required: connect again.
next_action
{"type": "otp", "expires_at"} while a code is awaited, else null.
error_code, error
Why it failed, else null.
account
{"name"}: how the site greets the person. Present once connected.
created_at
When the account was first connected (the same as connected_at on a connected account), or when the connect started.
connected_at
When it was first connected, else null.
expires_at
When the site's own sign-in expires, read from the site's cookie (the practice site gives 30 days), else null.
json
{
"object": "v3.session",
"id": "vss_f1fc8f70c5abb973eeeea519",
"site": "opheliapractice.com",
"end_user": "u_jane_1",
"status": "active",
"next_action": null,
"error_code": null,
"error": null,
"account": {
"name": "Guest"
},
"created_at": "2026-11-04T01:10:52.024898Z",
"connected_at": "2026-11-04T01:10:52.024898Z",
"expires_at": "2026-12-04T01:10:52Z"
}