Skip to main content
POST
/
api
/
decks
/
{deckId}
/
ingest
Ingest a journey completion
curl --request POST \
  --url https://app.demand-iq.com/api/decks/{deckId}/ingest \
  --header 'Content-Type: application/json' \
  --cookie session= \
  --data '
{
  "prospect_id": "prospect_8c2f4e1a",
  "source_event_id": "evt_01HXYZ2K9M"
}
'
{
  "presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "presentation_url": "<string>"
}

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Path Parameters

deckId
string<uuid>
required

UUID of the deck to create the presentation from

Body

application/json
prospect_id
string
required

Identifier of the prospect in the Core API.

Example:

"prospect_8c2f4e1a"

source_event_id
string
required

Identifier of the upstream journey completion event. Used as the idempotency key for (deck_id, source_event_id).

Example:

"evt_01HXYZ2K9M"

Response

Presentation created or existing presentation returned for a duplicate event.

presentation_id
string<uuid>

ID of the created (or existing) presentation.

presentation_url
string<uri>

Shareable URL to the homeowner-facing presentation.

send_status
enum<string>

Outcome of the automatic email delivery. not_requested is returned for idempotent replays; skipped is returned when delivery is disabled on the deck.

Available options:
sent,
skipped,
failed,
not_requested