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.
| Scope | account:read |
| Asynchronous | No |
| MCP tool | get_my_tour |
| Portal permissions | view_tours |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tour_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json MyTour |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
MyTour
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | Required | |
frequency | string or null | Required | When the player offers the tour again: until_completed, once_per_session, first_login_only or always. |
name | string | Required | |
progress | TourProgress or null | Required | The caller's progress through the tour; null while they have none. |
start_url | string or null | Required | |
steps | object or null | Required | The step tree, a tour_steps document; null when the tour has none. |
tour_id | string | Required | |
tour_type | integer or null | Required | |
trigger_rules | string or null | Required |
TourProgress
| Field | Type | Required | Description |
|---|---|---|---|
current_step | integer or null | Required | The step the person is on, as the player numbers them (from 1); null before any step. |
is_completed | boolean | Required | True only when the person finished the tour. |
is_dismissed | boolean | Required | True when the person stopped the tour without finishing it. |
is_started | boolean | Required | True after the first step, and when the tour is completed. |
tour_id | string | Required | |
updated_at | string (date-time) or null | Required |