Set the end date
From endsAt (Unix seconds) on, its QR code shows what the key says a scan shows after the end. null keeps it until it is deleted. You can also send endsAt when you create it.
bearerAuthAuthorizationBearer <msk_live_…>An API key from Partner › API and webhooks. Keep it on your server.
id*stringThe experienceId from POST /v1/experiences
uuidapplication/json- body
endsAt*|When it stops showing, in Unix seconds (at most ten years ahead); null keeps it until it is deleted. A time in the past ends it now.
0 < valueSaved
application/json- response
experienceId*stringThe experience ID. Every webhook carries it.
status*stringWhere it stands: draft (made through the API, not submitted yet), reserved (waits for your server to confirm it), submitted, processing, ready (scanning the QR code shows it), failed (see processingError) or deleted.
"draft""reserved""submitted""processing""ready""failed""disabled""deleted""replaced"contentKind?stringvideo (a hologram), model (3D objects) or info (a page of text and links).
"video""model""info"scanCode*stringThe short code in the QR code and in scanUrl.
scanUrl*stringThe address the printed QR code opens.
qrSvgUrl*stringThe QR code alone as a vector SVG, ready to print. Public.
qrPngUrl*stringThe QR code alone as a 1024 px PNG. Public.
printImageUrl?stringThe image with the QR code printed on it, when the experience has an image.
printPdfUrl?stringThe same print as a one-page PDF at its printed size, for a label printer.
processingError?stringWhy it failed, when status is failed.
orderReference?stringYour order number, when one was sent.
metadata?The values your page passed in, plus what your server added.
createdAt*numberWhen it was made, in Unix seconds.
reservedUntil?numberUntil when a reserved experience waits for your confirm, in Unix seconds.
confirmedAt?numberWhen it was confirmed, in Unix seconds.
readyAt?numberWhen it became ready, in Unix seconds.
pausedAt?numberWhen it was paused, in Unix seconds. While paused, its QR code shows what the key says a scan shows after the end.
endsAt?numberWhen it stops showing, in Unix seconds. From then on its QR code shows what the key says a scan shows after the end.
curl -X PUT 'https://api.meishi.cards/v1/experiences/3f1c9a52-7d4e-4b8a-9e21-5c6d0f8b2a17/schedule' \ -H 'Content-Type: application/json' \ -d '{ "endsAt": 1}'{ "experienceId": "string", "status": "draft", "contentKind": "video", "scanCode": "string", "scanUrl": "string", "qrSvgUrl": "string", "qrPngUrl": "string", "printImageUrl": "string", "printPdfUrl": "string", "processingError": "string", "orderReference": "string", "metadata": { "property1": "string", "property2": "string" }, "createdAt": 0, "reservedUntil": 0, "confirmedAt": 0, "readyAt": 0, "pausedAt": 0, "endsAt": 0}Resume an experience POST
Its QR code shows it again, unless its end date has passed (clear or move it with the schedule endpoint).
List experiences GET
Your organization's experiences, newest first within a page. Drafts and edits are left out. A page can hold fewer than `limit` when filters skip rows: follow `nextCursor`, passed back as `cursor`, until it is absent. Server API: send a website key's secret server key (`Authorization: Bearer sk_live_…`), and never put it in a web page.