DailyStory is built API-first. Every feature — email, SMS, automation, contacts, segments, popups, conversions — is accessible via a modern RESTful API. Extend, integrate, and automate anything. No workarounds, no vendor lock-in.
// Send a transactional SMS via DailyStory REST API const response = await fetch( 'https://us-1.dailystory.com/api/v1/sms/send', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ mobilePhone: '+12065551234', message: 'Hi {{first_name}}, order #{{order}} shipped!', campaignId: 88 }) } ); const { Status, messageId } = await response.json(); // { Status: true, messageId: 'msg_3kf9d2' }
# Send a transactional SMS via DailyStory REST API import requests r = requests.post( "https://us-1.dailystory.com/api/v1/sms/send", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, json={ "mobilePhone": "+12065551234", "message": "Hi {{first_name}}, order #{{order}} shipped!", "campaignId": 88, }, ) data = r.json() # {'Status': True, 'messageId': 'msg_3kf9d2'}
# Send a transactional SMS via DailyStory REST API curl -X POST \ https://us-1.dailystory.com/api/v1/sms/send \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "mobilePhone": "+12065551234", "message": "Hi {{first_name}}, order shipped!", "campaignId": 88 }' # {"Status":true,"messageId":"msg_3kf9d2"}
DailyStory was built API-first from day one. Every feature the UI exposes is also available through the API — there are no hidden capabilities, no second-class integrations, no enterprise-only locks.
JSON over HTTPS. Bearer token auth. Every resource — contacts, campaigns, SMS, email, segments, automations — fully CRUD accessible.
API Reference →Drop the beacon on any page. Send custom events, control popups, track conversions, and submit leads — all from client-side JS with no framework dependencies.
JS SDK Docs →Subscribe to real-time event notifications — unsubscribes, opt-outs, form submissions, conversion events. Configure via the API or dashboard.
Webhook Docs →Submit leads from any custom form using a public CORS-enabled endpoint — no auth key required. Works with any stack, framework, or serverless platform.
WebToLead Docs →DailyStory’s API is not a secondary afterthought — it’s the foundation the entire platform is built on. The same API the dashboard uses is the same one you get. Create and send transactional SMS, dispatch email, manage contacts, query segments, trigger automations, and read analytics — all programmatically, from any language or platform.
Drop the DailyStory beacon script on any page and you instantly unlock a full client-side SDK. Send custom events that trigger automations, control popup behaviour programmatically, track conversion funnel values against specific campaigns, and submit WebToLead data from any custom form — all with zero framework dependencies and zero impact on page load.
Ds.sendEvent() — trigger automations from UI interactionsDs.conversion() — attach revenue to marketing activityDs.Pop.showPopup() — control popups from your codeDs.earnLoyalty() — assign loyalty points client-sideWebhooks push events to your endpoint the moment they happen — unsubscribes, SMS opt-outs, form submissions, conversion events. Use them to sync contact changes back to your CRM, update your database, trigger fulfilment workflows, or fire Slack alerts. Subscribe and unsubscribe to webhook events via the API or directly in the DailyStory dashboard.
Not every customer form can use a DailyStory Magic Form. WebToLead is a
public CORS-enabled endpoint that accepts lead data from any page —
plain HTML, React, Vue, mobile webviews, custom checkout flows.
Pass standard contact fields or your own custom properties via extendedProperties.
No auth key required — just your TenantUID and data centre.
campaignidBeyond the API, DailyStory ships with native integrations for the most common platforms — installed in minutes, not weeks.
Orders, customers, cart abandonment
Purchase events & abandoned cart
Bidirectional contact sync
Conversion tracking & revenue
Native plugin, Magic Forms
Connect 5,000+ apps instantly
Fitness studio & wellness sync
POS events & funnel conversion
Design emails directly in Canva
Gym management & member data
Non-profit donor management
Build your own via REST + Webhooks
Sample of the most-used endpoints. Full reference at dev.dailystory.com →
API access, JavaScript SDK, Webhooks, and developer docs are included on every paid DailyStory plan. No enterprise-only gating, no extra fees.
Authorization: Bearer YOUR_API_KEY. The WebToLead public endpoint and the /api/v1/about endpoint are the only ones that don’t require auth.https://us-1.dailystory.com/api/v1/.... You can also call the anonymous /api/v1/about endpoint to discover your data centre programmatically./api/v1/sms/send and /api/v1/email/send endpoints let you send individual transactional messages to a specific phone number or email — ideal for order confirmations, password resets, and real-time notifications. You pass a campaignId for attribution, but delivery is immediate and one-to-one.extendedProperties object in contact POST/PUT requests. Pass key-value pairs matching your custom field names. These fields can be used in segment criteria, merge tags in campaigns, and are returned in contact GET responses./api/v1/events endpoint work identically to events sent from the JavaScript SDK — both trigger automations, update segment membership, and appear in contact activity history. This means you can drive personalised marketing from backend events like purchases, subscription changes, app logins, or any IoT or webhook data.Start your 14-day free trial and get instant access to the full REST API, JavaScript SDK, Webhooks, and developer documentation. No credit card required.