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_id string required

Request body

expires_in_hours integer
slug string

Responses

201 Successful Response

share_id string required
deck_id string required
token string required
url string required
expires_at string · date-time
slug string

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object