DailyStory

App · 26 actions

Keep DailyStory contacts, tags and segments up to date, add people to campaigns, and send emails and text messages.

Actions

ActionWhat it does
Add contact to campaignAdd a person to a campaign as a lead, creating the contact if needed.
Add tags to contactAdd tags to a contact by name, creating any tag that doesn't exist yet.
Create contactAdd a contact to DailyStory with an email address or mobile number.
Create segmentCreate a segment to group contacts, either a fixed list or one that follows a search.
Create tagCreate a tag you can add to contacts.
Delete contactMove a contact to the trash, where it can be restored for a few days.
Delete segmentMove a segment to the trash.
Delete tagDelete a tag.
Find or create contactFind a contact by email or mobile number, and create them if they don't exist yet.
Get campaignGet one campaign, whatever its status.
Get contactGet one contact by their DailyStory ID, with their details and custom fields.
Get segmentGet one segment, with how many contacts are in it.
List campaignsList your active DailyStory campaigns.
List contact's tagsList the tags a contact has.
List contacts in segmentList the IDs of the contacts in a segment, 100 at a time unless you choose otherwise.
List custom fieldsList the custom contact fields set up in your account, with the key to use for each.
List emailsList every email in your DailyStory account, with its send, open and click counts.
List leadsList the leads in your campaigns, one page at a time.
List segmentsList the segments (groups of contacts) in your DailyStory account.
List tagsList every tag in your DailyStory account.
List text message repliesList the replies people sent to your text messages between two days.
Remove tags from contactTake tags off a contact.
Search contactsSearch active contacts by name, email, phone or other words, one page at a time.
Send emailSend one of your DailyStory emails to a contact, optionally changing its subject or sender.
Send text messageSend a text message to one phone number or contact, creating the contact if needed.
Update contactChange an existing contact's details, status or custom fields.

Add contact to campaign

Add a person to a campaign as a lead, creating the contact if needed.

Inputs

CampaigncampaignIdnumberRequired
The campaign to add them to. Pick one, or use a campaign ID from List campaigns.
Emailemailtext
Their email address. Give an email or a mobile number.
Mobile numbermobilePhonetext
Their mobile number with the country code, such as +15551234567.
First namefirstNametext
Their first name.
Last namelastNametext
Their last name.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {},
    "Status": true
  }
}

Add tags to contact

Add tags to a contact by name, creating any tag that doesn't exist yet.

Inputs

Contact IDdsidtextRequired
The contact's DailyStory ID, from Create contact or Search contacts.
TagstagslistRequired
The names of the tags to add.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {},
    "Status": true
  }
}

Create contact

Add a contact to DailyStory with an email address or mobile number.

Inputs

Emailemailtext
Their email address. Give an email or a mobile number.
Mobile numbermobilePhonetext
Their mobile number with the country code, such as +15551234567.
First namefirstNametext
Their first name.
Last namelastNametext
Their last name.
Salutationsalutationtext
How to address them, such as Ms.
Job titletitletext
Their job title.
Companycompanytext
Their company.
Websitewebsitetext
Their website.
Phonephonetext
Their work phone number.
Home phonehomePhonetext
Their home phone number.
Street addressaddresstext
Their street address.
Citycitytext
Their city.
State or regionregiontext
Their state or region.
Postal codepostalCodetext
Their postal or ZIP code.
Countrycountrytext
Their country.
Do not contactdonotcontacttrue/false
Turn on to stop all messages to them.
Opted out of emailoptOutEmailtrue/false
Turn on if they don't want email.
Opted out of textsoptOutSmstrue/false
Turn on if they don't want text messages.
Custom fieldsextendedPropertiesobject
Custom field values, by the field's key (see List custom fields), such as plan: Premium.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": "43aaf5af35f866b1edba7"
    },
    "Status": true
  }
}

Create segment

Create a segment to group contacts, either a fixed list or one that follows a search.

Inputs

NamenametextRequired
The segment's name.
Descriptiondescriptiontext
What the segment is for.
TypesegmentTypetext
Static keeps the contacts you add; Dynamic holds every contact matching Search.One of: Static (Static (a fixed list)), Dynamic (Dynamic (follows a search)).
Searchsearchtext
For a dynamic segment, the search that picks its contacts.
Call listis_call_listtrue/false
Turn on to mark the segment as a call list.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": 136
    },
    "Status": true
  }
}

Create tag

Create a tag you can add to contacts.

Inputs

NamenametextRequired
The tag's name.
Descriptiondescriptiontext
What the tag is for.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": 34
    },
    "Status": true
  }
}

Delete contact

Move a contact to the trash, where it can be restored for a few days.

Inputs

Contact IDdsidtextRequired
The contact's DailyStory ID, from Create contact or Search contacts.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": "5a0d669ab6984125a1c63aaacfd0a9cd"
    },
    "Status": true
  }
}

Delete segment

Move a segment to the trash.

Inputs

SegmentidnumberRequired
The segment. Pick one, or use a segment ID from List segments.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": 136
    },
    "Status": true
  }
}

Delete tag

Delete a tag.

Inputs

TagidnumberRequired
The tag. Pick one, or use a tag ID from List tags.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {},
    "Status": true
  }
}

Find or create contact

Find a contact by email or mobile number, and create them if they don't exist yet.

Inputs

Emailemailtext
The email address to look for. Give an email or a mobile number.
Mobile numbermobilephonetext
The mobile number to look for, with the country code, such as +15551234567.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "contact": {
        "city": "Dallas",
        "country": "United States",
        "dateContactCreated": "2022-01-12T00:00:00",
        "dateContactLastModified": "2025-09-23T20:50:49.373",
        "donotcontact": false,
        "dsId": "43aaf5af35f866b1edba7",
        "email": "rob@example.com",
        "extendedProperties": {
          "class_of_license": "Premium",
          "stripe_customer_id": "cus_DRvE6c5V9jp"
        },
        "firstName": "Rob",
        "fullname": "Rob Howard",
        "isEmailEnabled": true,
        "isSmsEnabled": true,
        "lastName": "Howard",
        "mobilePhone": "+15557140059",
        "optOutEmail": false,
        "optOutSms": false,
        "postalCode": "75270",
        "region": "Texas",
        "status": "Active"
      }
    },
    "Status": true
  }
}

Get campaign

Get one campaign, whatever its status.

Inputs

CampaignidnumberRequired
The campaign. Pick one, or use a campaign ID from List campaigns.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "campaign": {
        "allow_autopause": true,
        "campaignId": 24109,
        "campaignType": "Conversion",
        "conversionGoals": {
          "enabled": false,
          "mcls": 0,
          "mqls": 0,
          "sqls": 0,
          "suspects": 0
        },
        "cost": 0,
        "costPeriod": "None",
        "date_created": "2025-09-01T17:41:46.18",
        "date_last_updated": "2025-09-01T17:41:46.18",
        "description": "Don't Miss Our Exclusive Spring Sale!",
        "isAutoQualifyNewLead": false,
        "isNotifyNewLead": false,
        "name": "Spring Sale 2025 Launch",
        "notificationRecipients": [
          "0"
        ],
        "status": "Active",
        "utmCampaign": "Spring_Sale_2025_Launch",
        "workflowBehavior": "All"
      }
    },
    "Status": true
  }
}

Get contact

Get one contact by their DailyStory ID, with their details and custom fields.

Inputs

Contact IDdsidtextRequired
The contact's DailyStory ID, from Create contact or Search contacts.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "contact": {
        "city": "Dallas",
        "country": "United States",
        "dateContactCreated": "2022-01-12T00:00:00",
        "dateContactLastModified": "2025-09-23T20:50:49.373",
        "donotcontact": false,
        "dsId": "43aaf5af35f866b1edba7",
        "email": "rob@example.com",
        "extendedProperties": {
          "class_of_license": "Premium",
          "stripe_customer_id": "cus_DRvE6c5V9jp"
        },
        "firstName": "Rob",
        "fullname": "Rob Howard",
        "isEmailEnabled": true,
        "isSmsEnabled": true,
        "lastName": "Howard",
        "mobilePhone": "+15557140059",
        "optOutEmail": false,
        "optOutSms": false,
        "postalCode": "75270",
        "region": "Texas",
        "status": "Active"
      },
      "id": "43aaf5af35f866b1edba7"
    },
    "Status": true
  }
}

Get segment

Get one segment, with how many contacts are in it.

Inputs

SegmentidnumberRequired
The segment. Pick one, or use a segment ID from List segments.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "segment": {
        "description": "API Test Segment",
        "id": 1715,
        "is_call_list": false,
        "name": "Test Segment",
        "search": "",
        "segmentType": "Static",
        "status": "Active",
        "total_enabled_push": 0,
        "total_enabled_sms": 0,
        "total_members": 0,
        "total_optout_email": 0,
        "total_optout_phone": 0,
        "total_optout_push": 0,
        "total_optout_sms": 0
      }
    },
    "Status": true
  }
}

List campaigns

List your active DailyStory campaigns.

Inputs

None.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "campaigns": [
        {
          "allow_autopause": true,
          "campaignId": 24109,
          "campaignType": "Conversion",
          "conversionGoals": {
            "enabled": false,
            "mcls": 0,
            "mqls": 0,
            "sqls": 0,
            "suspects": 0
          },
          "cost": 0,
          "costPeriod": "None",
          "date_created": "2025-09-01T17:41:46.18",
          "date_last_updated": "2025-09-01T17:41:46.18",
          "description": "Don't Miss Our Exclusive Spring Sale!",
          "isAutoQualifyNewLead": false,
          "isNotifyNewLead": false,
          "name": "Spring Sale 2025 Launch",
          "notificationRecipients": [
            "0"
          ],
          "status": "Active",
          "utmCampaign": "Spring_Sale_2025_Launch",
          "workflowBehavior": "All"
        }
      ]
    },
    "Status": true
  }
}

List contact's tags

List the tags a contact has.

Inputs

Contact IDdsidtextRequired
The contact's DailyStory ID, from Create contact or Search contacts.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "tags": [
        {
          "date_created": "2020-06-10T15:46:13.45",
          "description": "API Test Tag",
          "id": 33,
          "name": "Test Tag",
          "total_contacts": 0
        }
      ]
    },
    "Status": true
  }
}

List contacts in segment

List the IDs of the contacts in a segment, 100 at a time unless you choose otherwise.

Inputs

SegmentidnumberRequired
The segment. Pick one, or use a segment ID from List segments.
Skipskipnumber
How many contacts to skip, to read later pages.At least 0.
How manytakenumber
How many contacts to return. DailyStory returns 100 when empty.At least 1.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "contacts": [
        "5188b876e4454f3ab4e94c7d0ecaa84a"
      ],
      "has_more_results": true,
      "skip": 0,
      "take": 100,
      "total_count": 379
    },
    "Status": true
  }
}

List custom fields

List the custom contact fields set up in your account, with the key to use for each.

Inputs

None.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "graph": [
        {
          "apiname": "mobilesite",
          "campaignId": 0,
          "datatype": "Text",
          "date_created": "2018-06-27T17:51:57.027",
          "groupname": "",
          "id": 45,
          "name": "MobileSite",
          "picklist": [
            "Yes"
          ]
        }
      ]
    },
    "Status": true
  }
}

List emails

List every email in your DailyStory account, with its send, open and click counts.

Inputs

None.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "emails": [
        {
          "campaignId": 144,
          "date_last_modified": "2021-11-20T22:37:12.82",
          "emailId": 93,
          "from": "hello@example.com",
          "name": "An example email",
          "status": "Active",
          "subject": "This is an example email",
          "total_clicked": 1,
          "total_opened": 4,
          "total_sent": 1409
        }
      ]
    },
    "Status": true
  }
}

List leads

List the leads in your campaigns, one page at a time.

Inputs

Pagepageindexnumber
Which page to read, starting at 0.At least 0.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "HasMoreResults": false,
    "Message": "",
    "PageIndex": 0,
    "PageSize": 25,
    "Response": {
      "leads": [
        {
          "campaignId": 69,
          "company": "Test Company",
          "dateContactCreated": "2017-07-10T00:00:00",
          "dateContactLastModified": "2020-06-24T20:26:09.857",
          "dsId": "926b9821e4ee4209b337fce3162f3f19",
          "email": "rob@example.com",
          "firstName": "Rob",
          "lastName": "Email",
          "leadId": 265103,
          "leadOrigin": "Manual",
          "leadSource": "Unit Test",
          "leadStatus": "Active",
          "leadUID": "926b9821e4ee4209b337fce3162f3f19-265103",
          "mobilePhone": "+12147140059",
          "points": 13,
          "score": 5,
          "segments": [
            2,
            39
          ]
        }
      ]
    },
    "Status": true,
    "TotalCount": 1,
    "TotalPages": 1
  }
}

List segments

List the segments (groups of contacts) in your DailyStory account.

Inputs

Call lists onlyisCallListtrue/false
Turn on to list only segments marked as call lists.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "segments": [
        {
          "description": "API Test Segment",
          "id": 1715,
          "is_call_list": false,
          "name": "Test Segment",
          "search": "",
          "segmentType": "Static",
          "status": "Active",
          "total_enabled_push": 0,
          "total_enabled_sms": 0,
          "total_members": 0,
          "total_optout_email": 0,
          "total_optout_phone": 0,
          "total_optout_push": 0,
          "total_optout_sms": 0
        }
      ]
    },
    "Status": true
  }
}

List tags

List every tag in your DailyStory account.

Inputs

None.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "tags": [
        {
          "date_created": "2020-06-10T15:46:13.45",
          "description": "API Test Tag",
          "id": 33,
          "name": "Test Tag",
          "total_contacts": 0
        }
      ]
    },
    "Status": true
  }
}

List text message replies

List the replies people sent to your text messages between two days.

Inputs

Text message IDidnumber
Only replies to this text message. Leave empty for replies to every message.
Fromstartdate
The first day to include. DailyStory uses the first of this month when empty.
Toenddate
The last day to include. DailyStory uses the last day of this month when empty.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "replies": [
        {
          "date_replied": "2023-08-13T20:32:34.5",
          "dsid": "37dcdc9ddea7156c6cbeb90dd670df7b",
          "leadid": 1,
          "message": "Thanks",
          "mobilephone": "+15551234567",
          "name": "Rob Howard",
          "sms_id": 17738
        }
      ]
    },
    "Status": true
  }
}

Remove tags from contact

Take tags off a contact.

Inputs

Contact IDdsidtextRequired
The contact's DailyStory ID, from Create contact or Search contacts.
Tag IDstag_idslistRequired
The IDs of the tags to remove, from List tags or List contact's tags.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {},
    "Status": true
  }
}

Search contacts

Search active contacts by name, email, phone or other words, one page at a time.

Inputs

SearchstextRequired
What to search for, such as a name or email address.
PagepageIndexnumber
Which page to read, starting at 0.At least 0.
Page sizepageSizenumber
How many contacts a page holds.At least 1.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "HasMoreResults": false,
    "Message": "",
    "PageIndex": 0,
    "PageSize": 25,
    "Response": {
      "results": [
        {
          "city": "Dallas",
          "country": "United States",
          "dateContactCreated": "2022-01-12T00:00:00",
          "dateContactLastModified": "2025-09-23T20:50:49.373",
          "donotcontact": false,
          "dsId": "43aaf5af35f866b1edba7",
          "email": "rob@example.com",
          "extendedProperties": {
            "class_of_license": "Premium",
            "stripe_customer_id": "cus_DRvE6c5V9jp"
          },
          "firstName": "Rob",
          "fullname": "Rob Howard",
          "isEmailEnabled": true,
          "isSmsEnabled": true,
          "lastName": "Howard",
          "mobilePhone": "+15557140059",
          "optOutEmail": false,
          "optOutSms": false,
          "postalCode": "75270",
          "region": "Texas",
          "status": "Active"
        }
      ]
    },
    "Status": true,
    "TotalCount": 1,
    "TotalPages": 1
  }
}

Send email

Send one of your DailyStory emails to a contact, optionally changing its subject or sender.

Inputs

EmailidnumberRequired
The email to send. Pick one, or use an email ID from List emails.
Contact IDdsidtext
The DailyStory ID of the contact to send it to. Give a contact ID or an email address.
Toemailtext
The email address to send it to. DailyStory finds or creates the contact.
Subjectsubjecttext
A subject to use instead of the email's own.
Fromfromtext
A sender address to use instead of the email's own.
Preview textpreheadertext
Preview text to use instead of the email's own.
Plain textplaintexttext
A plain-text version to use instead of the email's own.
Cccctext
Addresses to copy, separated by semicolons.
Bccbcctext
Addresses to blind copy, separated by semicolons.
Reply toreply_totext
One address replies should go to.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "Email sent",
    "Response": {
      "messageid": "20231127164859.ee81700d9b371f25@mg.dailystory.net"
    },
    "Status": true
  }
}

Send text message

Send a text message to one phone number or contact, creating the contact if needed.

Inputs

Mobile numbermobiletext
The number to text, with the country code, such as +15551234567. Give a number or a contact ID.
Contact IDdsidtext
The DailyStory ID of the contact to text.
MessagemessagetextRequired
What the text message says.
Image linkmediaurltext
A link to an image to send with it.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "Text Message sent",
    "Response": {},
    "Status": true
  }
}

Update contact

Change an existing contact's details, status or custom fields.

Inputs

Contact IDdsIdtextRequired
The contact to change, from Create contact or Search contacts.
Emailemailtext
Their email address.
Mobile numbermobilePhonetext
Their mobile number with the country code, such as +15551234567.
First namefirstNametext
Their first name.
Last namelastNametext
Their last name.
Salutationsalutationtext
How to address them, such as Ms.
Job titletitletext
Their job title.
Companycompanytext
Their company.
Websitewebsitetext
Their website.
Phonephonetext
Their work phone number.
Home phonehomePhonetext
Their home phone number.
Street addressaddresstext
Their street address.
Citycitytext
Their city.
State or regionregiontext
Their state or region.
Postal codepostalCodetext
Their postal or ZIP code.
Countrycountrytext
Their country.
Statusstatustext
Set the contact's status.One of: Active, Inactive, Spam, Deleted.
Do not contactdonotcontacttrue/false
Turn on to stop all messages to them.
Opted out of emailoptOutEmailtrue/false
Turn on if they don't want email.
Opted out of textsoptOutSmstrue/false
Turn on if they don't want text messages.
Custom fieldsextendedPropertiesobject
Custom field values, by the field's key (see List custom fields), such as plan: Premium.

Outputs

dataobject
The response from DailyStory.
Example output
{
  "data": {
    "Message": "",
    "Response": {
      "id": "43aaf5af35f866b1edba7"
    },
    "Status": true
  }
}

On this page