notifications

Schedule Nudge Email

Schedule a nudge email to be sent 10 minutes after the user triggers a credit modal or download gate. The Celery task will re-check subscription status and once-per-day dedup before actually sending.

Valid type values:

  • cart_abandoned: User opened credit/purchase modal but didn't subscribe
  • download_gate: User hit download gate but didn't subscribe
post/api/v1/notifications/schedule-nudge-email

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/notifications/schedule-nudge-email
  • Auth: HTTP bearer

Request body

type'cart_abandoned' | 'download_gate' required

Nudge email type: cart_abandoned or download_gate

image_urlstring nullable

URL of the image the user tried to download (download_gate only)

Response

Successful Response

successboolean required

Whether notification was sent successfully

messagestring required

Status message

Changes

No recorded changes to this operation across all 1 revision of this API.