Skip to main content

Get one of my product tours.

GET/api/v1/me/tours/{tour_id}account:read

A tour the caller is in the audience of, with its steps and the caller's progress; any other tour is 404, whatever the caller's permissions (get_tour reads any tour for View Tours and View All Tours). Needs View Tours.

Scopeaccount:read
AsynchronousNo
MCP toolget_my_tour
Portal permissionsview_tours

Parameters​

NameInTypeRequiredDescription
tour_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json MyTour
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

MyTour​

FieldTypeRequiredDescription
descriptionstring or nullRequired
frequencystring or nullRequiredWhen the player offers the tour again: until_completed, once_per_session, first_login_only or always.
namestringRequired
progressTourProgress or nullRequiredThe caller's progress through the tour; null while they have none.
start_urlstring or nullRequired
stepsobject or nullRequiredThe step tree, a tour_steps document; null when the tour has none.
tour_idstringRequired
tour_typeinteger or nullRequired
trigger_rulesstring or nullRequired

TourProgress​

FieldTypeRequiredDescription
current_stepinteger or nullRequiredThe step the person is on, as the player numbers them (from 1); null before any step.
is_completedbooleanRequiredTrue only when the person finished the tour.
is_dismissedbooleanRequiredTrue when the person stopped the tour without finishing it.
is_startedbooleanRequiredTrue after the first step, and when the tour is completed.
tour_idstringRequired
updated_atstring (date-time) or nullRequired