List experiences
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.
serverKeyAuthorizationBearer <sk_live_…>A website key's secret server key, from Partner › Shops and integrations › Server connection. Keep it on your server.
status?stringOnly experiences with this status, e.g. ready.
orderReference?stringOnly experiences with this order reference.
limit?integerHow many to return, 1 to 100 (50 by default).
1 <= value <= 10050cursor?stringThe previous page's nextCursor.
A page of experiences
application/json- response
items*array<>The experiences on this page.
nextCursor?stringPass it back as cursor for the next page. Absent on the last page.
curl -X GET 'https://api.public.meishi.cards/embed/server/experiences'{ "items": [ { "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 } ], "nextCursor": "string"}Set the end date PUT
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.
Get an experience GET
One experience, with its status, scan link, QR codes, print and your metadata. Server API: needs the server key.