Add a slide to a deck

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

Insert a new slide. Data-bound types are populated from live CFO portal data (with AI commentary); 'custom' slides use the supplied markdown. Optional 0-based position, defaults to the end.

Operation ID: add_slide_api_v1_ai_reporting_decks__deck_id__slides_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

slide_typestringrequired

Slide to add. Data-bound types are populated from live CFO portal data; 'custom' uses the supplied markdown. 'cover' cannot be added (a deck already has one).

One of: cover, exec_summary, pnl_summary, ar_aging, cash_position, inventory_cogs, customer_concentration, asks, custom

titlestring
markdownstring

Body content for custom slides.

positioninteger

Insert position (0-based). Defaults to end of deck.

Responses

201Successful Response

successboolean
messagestring
codestring
dataCoverSlide | ExecSummarySlide | PnlSummarySlide | ArAgingSlide | CashPositionSlide | InventoryCogsSlide | CustomerConcentrationSlide | AsksSlide | CustomSlideSpec

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