Experiences
An experience brings a printed card to life on the recipient's phone: the card's QR code opens a page in the phone's browser, the camera recognises the card and a scene of texts, buttons, pictures, videos, 3D models and effects plays on it. Experiences need the plan feature experiences; the endpoints answer 403 feature_not_available without it. Reading needs the right experiences.read, changing experiences.write.
The model
- One experience per design (template) and side, with a draft scene and numbered versions. The draft is what the builder edits; publishing makes it the next version, which every card of the design opens.
- A scene is JSON (
schemaVersion1, kindar) with the card's size, the elements and their entrances, loops, taps and conditions, the fonts, the sound and the light. Texts can hold the card's fields ({{recipient.firstName}}); images and carousel photos can come from a field with an image address ({ "kind": "variable", "variable": "photo", "fallbackAssetId": null }), and a carousel can take a field with several addresses separated by commas (listVariable). - The card is found by the tracked part of the design: built from the published design version's shared layers (not its personal fields) with a quality score.
GET /v1/experiences/{id}/targetreturns it with its analysis.
Endpoints
| Method and path | What it does |
|---|---|
GET /v1/experiences | List the organisation's experiences. |
POST /v1/experiences | Create one for a design and side, empty or from a starter. |
GET /v1/experiences/{id} | The experience with its draft, revision, issues and status. |
PATCH /v1/experiences/{id} | Rename it, set its fallback address or its start page. |
PUT /v1/experiences/{id}/draft | Replace the draft scene; send the revision you built on in If-Match (a conflict answers 409 draft_conflict with the current revision). |
POST /v1/experiences/{id}/publish | Publish the draft as the next version; refused with 422 experience_invalid and the issues while it has errors. |
POST /v1/experiences/{id}/pause and /resume | A paused experience sends recipients to its fallback address. |
GET /v1/experiences/{id}/versions and /versions/{number} | The published versions. |
POST /v1/experiences/{id}/point-qr | Point the design's QR code at the experience (the field Experience link). |
POST /v1/experiences/{id}/preview-link | A signed link of one hour to try the draft on a phone. |
GET /v1/experiences/{id}/statistics | The funnel, the series, devices, elements, videos, taps, the time to find the card and how the tracking held, for a period and mode. |
DELETE /v1/experiences/{id} | Delete it with its measurements; cards then open a page saying there is no experience. |
Videos, sounds and 3D models are uploaded like images through POST /v1/uploads with kind video, audio or model and are listed and keyed (green screen) under /v1/experience-media. PostBuddy prepares each for phones; publishing waits until they are ready.
The card's QR code
The design needs a QR code whose destination is the system field Experience link ({{experience.url}}). Each card then carries its own address on the experience host (https://go.<your QR domain>/e/<token>). The experience's issues name qr_missing while the design has none; point-qr sets it.
Measurements and webhooks
The page measures, without cookies, whether it was opened, started, the camera allowed and the card found, taps, clicks, video progress, the moments the card was missing for at most 150 ms and bridged (card_held) or lost, the scene then pausing until it is found again (card_lost). Events are kept 90 days and daily totals for good; today and yesterday are counted from the events at once. Three webhook events follow (see the event catalogue):
experience.openedexperience.element_tappedexperience.button_clicked
Each carries the experience, the card (itemId) and its Postflow. A journey step can wait for these events of the card.
Test mode
Test cards open their experience like live cards; their measurements are counted under the mode test of the statistics. The builder's phone test (the preview link) is not measured.