RoundPlanAPI reference

Trips

List a trip's options

GET/api/v1/trips/{id}/variantsScope trips:read

The trip's options, with their quoted price, in the order the client sees their tabs. Returned whole, never paged. Empty when the trip has no options. Once the client accepts an option, or the trip leaves the proposal stage, only the option their trip page shows is listed.

Path parameters

idstring

Query parameters

No parameters.

Returns

A list of Variant objects.

object"list"
next_cursorundefined

Errors

401unauthorizedNo key, a malformed one, or a key that does not exist or was revoked. Send it as Authorization: Bearer <key>.
403api_not_enabledRoundPlan has not turned on API access for this agency.
403subscription_inactiveThe agency's trial expired or its subscription ended.
403insufficient_scopeThe key cannot read this. An owner adds trips:read to a key in Settings → API.
404not_foundNothing with that id in this agency.
429rate_limitedToo many requests. Wait the seconds in Retry-After. See Errors and rate limits.
500internal_errorSomething went wrong on our side. Retry later.