Create a public share link for a deck

POST/api/v1/ai-reporting/decks/{deck_id}/share

Mint a SHA-256 token-protected public share URL. The raw token is returned in this response exactly once — store or display it immediately. Subsequent listings only show metadata (no token).

Operation ID: create_share_api_v1_ai_reporting_decks__deck_id__share_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

deck_idstringrequired

Request body

expires_in_hoursinteger
slugstring

Responses

201Successful Response

successboolean
messagestring
codestring
dataShareLinkResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject