OpheliaDocs
Search docs⌘K
DashboardCreate an account
v3 · Endpoints

Endpoints

Every v3 route, the scope a key needs for it, and how many calls your organization may make to it in 5 minutes.

Base URL https://api.opheliaos.com. Send Authorization: Bearer YOUR_TEST_KEY on every call (Keys and scopes). Limits count per organization, and most are shared: a limit that says "shared" is one count for every route that names it. "Shared (reads)" is one budget of 300 for GET /v3/bookings/{booking_id}, abandon, cancel, modify, GET /v3/sessions, GET /v3/sessions/{session_id} and DELETE /v3/sessions/{session_id} (Rate limits).

Search, availability and bookings

RouteScopeLimit / 5 minWhat it does
v3:search or v3:book
25 (its own)
Search one site. Returns entities.
v3:search or v3:book
60 (its own)
Read what is open for one entity. Returns offers.
v3:book
10, shared with POST /v3/sessions
Book or buy one entity. Presses the final button unless you send begin.
v3:book
300, shared (reads)
Read a booking as it stands now.
v3:book
20, shared with POST /v3/sessions/{session_id}/continue
Send the code a paused booking is waiting for.
v3:book
300, shared (reads)
End a pause you will not answer. Not a cancel.
any v3 key
300, shared (reads)
Always refused: 501 not_implemented_in_v3.
any v3 key
300, shared (reads)
Always refused: 501 not_implemented_in_v3.

Connected accounts

RouteScopeLimit / 5 minWhat it does
v3:book
10, shared with POST /v3/bookings
Start connecting a person's own account on a site.
v3:book
20, shared with POST /v3/bookings/{attempt_id}/continue
Send the code the site sent the person.
v3:book
300, shared (reads)
List connected accounts (?end_user=&site=).
v3:book
300, shared (reads)
Read one connected account.
v3:book
300, shared (reads)
Disconnect an account.

About the API

RouteScopeLimit / 5 minWhat it does
v3:sites:read, v3:search or v3:book
300, shared with GET /v3/ and GET /v3/corrections
The kinds of ask, and the values to send as vertical.
GET /v3/corrections
any v3 key
300, shared with GET /v3/ and GET /v3/verticals
How your organization's calls got the API wrong, and how to call instead (?limit=, 1 to 500, default 100).
GET /v3/
any v3 key
300, shared with GET /v3/verticals and GET /v3/corrections
Whether v3 is on (enabled), and every route in brief.