201Successful Response
Schema: SuccessEnvelope_DashboardShareLinkResponse_
successbooleanmessagestringcodestringdataDashboardShareLinkResponse
/api/v1/dashboards/{dashboard_id}/shareMint a token-protected public URL that renders this dashboard read-only for anyone who holds the link — no DayZero account needed. The raw token is returned in this response exactly once; only its SHA-256 digest is stored, so it cannot be recovered later (mint a new link instead).
The public view serves the dashboard's stored snapshots and strips widget sources, refresh errors, and every creator/assignee identifier. Links are revocable and may carry an expiry; omitting expires_in_hours makes the link unbounded until revoked. Only a user who can edit the dashboard may share it.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
dashboard_idstringrequiredSchema: CreateDashboardShareRequest
expires_in_hoursintegerslugstringSchema: SuccessEnvelope_DashboardShareLinkResponse_
successbooleanmessagestringcodestringdataDashboardShareLinkResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject