POST
/v1/experiences/{id}/publishPublish the draft scene
Publishes the draft as the next version, checked against the latest published version of the design; scans open the latest version. A first publish takes one of the plan's published experiences.
Scope
experiences.writeIdempotent with a keyPath parameters
idstringrequiredHeaders
Idempotency-Keystringmax length 255Up to 255 characters, scoped to the organisation and the endpoint, kept for 24 hours: a repeat with the same body replays the stored response with Idempotent-Replayed: true (API-004).
Returns
16 fields of the 200 answer
idstringrequirednamestringrequiredkindenumrequiredartemplateIdstringrequiredsideenumrequiredfrontbackstatusenumrequiredDRAFTPUBLISHEDPAUSEDfallbackUrlstring or nullrequiredstartPageobjectrequired6 fields
titlestringrequiredmax length 80textstringrequiredmax length 240buttonstringrequiredmax length 40backgroundone of or nullrequiredbuttonShapeenumrequiredpillroundedsquarebuttonColourstring or nullrequireddraftRevisionintegerrequireddraftUpdatedAtdate-timerequiredlatestVersionNumberintegerrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredsceneobjectrequired7 fields
schemaVersionnumberrequiredkindstringrequiredstartobjectrequired2 fields
titlestringrequiredmax length 120buttonstringrequiredmax length 40soundobject or nullrequired3 fields
assetIdstringrequiredmin length 1loopbooleanrequiredvolumenumberrequiredmin 0max 1lightobject2 fields
fromenumrequiredtopLefttoptopRightstrengthenumrequiredsoftnormalbrightfontsarray of objectsrequiredmax items 83 fields
idstringrequiredmin length 1familystringrequiredmin length 1sourceenumrequiredcuratedorganisationgoogleelementsarray of one ofrequiredmax items 60issuesarray of objectsrequired4 fields
codeenumrequiredduplicate_idtap_target_missingtap_target_not_videolink_invalidfont_missingfield_unknownoutside_cardimage_missingmedia_missingmedia_processingmedia_failedkey_not_readyqr_missingrecognition_too_lowrecognition_poordepth_preparingdepth_unavailabletext_smallbutton_smallseverityenumrequirederrorwarningelementIdstringmessagestringrequiredqrobjectrequired3 fields
publishedenumrequiredopensother_linknonedraftenumrequiredopensother_linknonedraftCodesintegerrequiredResponses
200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
409A request with this Idempotency-Key is still in progress (idempotency_in_progress)
422Validation failed, or the Idempotency-Key was used with another body (idempotency_key_reused)
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)