DailyStory
App · 26 actions
Keep DailyStory contacts, tags and segments up to date, add people to campaigns, and send emails and text messages.
Actions
| Action | What it does |
|---|---|
| Add contact to campaign | Add a person to a campaign as a lead, creating the contact if needed. |
| Add tags to contact | Add tags to a contact by name, creating any tag that doesn't exist yet. |
| Create contact | Add a contact to DailyStory with an email address or mobile number. |
| Create segment | Create a segment to group contacts, either a fixed list or one that follows a search. |
| Create tag | Create a tag you can add to contacts. |
| Delete contact | Move a contact to the trash, where it can be restored for a few days. |
| Delete segment | Move a segment to the trash. |
| Delete tag | Delete a tag. |
| Find or create contact | Find a contact by email or mobile number, and create them if they don't exist yet. |
| Get campaign | Get one campaign, whatever its status. |
| Get contact | Get one contact by their DailyStory ID, with their details and custom fields. |
| Get segment | Get one segment, with how many contacts are in it. |
| List campaigns | List your active DailyStory campaigns. |
| List contact's tags | List the tags a contact has. |
| List contacts in segment | List the IDs of the contacts in a segment, 100 at a time unless you choose otherwise. |
| List custom fields | List the custom contact fields set up in your account, with the key to use for each. |
| List emails | List every email in your DailyStory account, with its send, open and click counts. |
| List leads | List the leads in your campaigns, one page at a time. |
| List segments | List the segments (groups of contacts) in your DailyStory account. |
| List tags | List every tag in your DailyStory account. |
| List text message replies | List the replies people sent to your text messages between two days. |
| Remove tags from contact | Take tags off a contact. |
| Search contacts | Search active contacts by name, email, phone or other words, one page at a time. |
| Send email | Send one of your DailyStory emails to a contact, optionally changing its subject or sender. |
| Send text message | Send a text message to one phone number or contact, creating the contact if needed. |
| Update contact | Change 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
- Campaign
campaignIdnumberRequired - The campaign to add them to. Pick one, or use a campaign ID from List campaigns.
- Email
emailtext - Their email address. Give an email or a mobile number.
- Mobile number
mobilePhonetext - Their mobile number with the country code, such as +15551234567.
- First name
firstNametext - Their first name.
- Last name
lastNametext - 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 ID
dsidtextRequired - The contact's DailyStory ID, from Create contact or Search contacts.
- Tags
tagslistRequired - 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
- Email
emailtext - Their email address. Give an email or a mobile number.
- Mobile number
mobilePhonetext - Their mobile number with the country code, such as +15551234567.
- First name
firstNametext - Their first name.
- Last name
lastNametext - Their last name.
- Salutation
salutationtext - How to address them, such as Ms.
- Job title
titletext - Their job title.
- Company
companytext - Their company.
- Website
websitetext - Their website.
- Phone
phonetext - Their work phone number.
- Home phone
homePhonetext - Their home phone number.
- Street address
addresstext - Their street address.
- City
citytext - Their city.
- State or region
regiontext - Their state or region.
- Postal code
postalCodetext - Their postal or ZIP code.
- Country
countrytext - Their country.
- Do not contact
donotcontacttrue/false - Turn on to stop all messages to them.
- Opted out of email
optOutEmailtrue/false - Turn on if they don't want email.
- Opted out of texts
optOutSmstrue/false - Turn on if they don't want text messages.
- Custom fields
extendedPropertiesobject - 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
- Name
nametextRequired - The segment's name.
- Description
descriptiontext - What the segment is for.
- Type
segmentTypetext - Static keeps the contacts you add; Dynamic holds every contact matching Search.One of:
Static(Static (a fixed list)),Dynamic(Dynamic (follows a search)). - Search
searchtext - For a dynamic segment, the search that picks its contacts.
- Call list
is_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
- Name
nametextRequired - The tag's name.
- Description
descriptiontext - 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 ID
dsidtextRequired - 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
- Segment
idnumberRequired - 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
- Tag
idnumberRequired - 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
- Email
emailtext - The email address to look for. Give an email or a mobile number.
- Mobile number
mobilephonetext - 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
- Campaign
idnumberRequired - 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 ID
dsidtextRequired - 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
- Segment
idnumberRequired - 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 ID
dsidtextRequired - 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
- Segment
idnumberRequired - The segment. Pick one, or use a segment ID from List segments.
- Skip
skipnumber - How many contacts to skip, to read later pages.At least 0.
- How many
takenumber - 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
- Page
pageindexnumber - 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 only
isCallListtrue/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 ID
idnumber - Only replies to this text message. Leave empty for replies to every message.
- From
startdate - The first day to include. DailyStory uses the first of this month when empty.
- To
enddate - 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 ID
dsidtextRequired - The contact's DailyStory ID, from Create contact or Search contacts.
- Tag IDs
tag_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
- Search
stextRequired - What to search for, such as a name or email address.
- Page
pageIndexnumber - Which page to read, starting at 0.At least 0.
- Page size
pageSizenumber - 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
- Email
idnumberRequired - The email to send. Pick one, or use an email ID from List emails.
- Contact ID
dsidtext - The DailyStory ID of the contact to send it to. Give a contact ID or an email address.
- To
emailtext - The email address to send it to. DailyStory finds or creates the contact.
- Subject
subjecttext - A subject to use instead of the email's own.
- From
fromtext - A sender address to use instead of the email's own.
- Preview text
preheadertext - Preview text to use instead of the email's own.
- Plain text
plaintexttext - A plain-text version to use instead of the email's own.
- Cc
cctext - Addresses to copy, separated by semicolons.
- Bcc
bcctext - Addresses to blind copy, separated by semicolons.
- Reply to
reply_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 number
mobiletext - The number to text, with the country code, such as +15551234567. Give a number or a contact ID.
- Contact ID
dsidtext - The DailyStory ID of the contact to text.
- Message
messagetextRequired - What the text message says.
- Image link
mediaurltext - 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 ID
dsIdtextRequired - The contact to change, from Create contact or Search contacts.
- Email
emailtext - Their email address.
- Mobile number
mobilePhonetext - Their mobile number with the country code, such as +15551234567.
- First name
firstNametext - Their first name.
- Last name
lastNametext - Their last name.
- Salutation
salutationtext - How to address them, such as Ms.
- Job title
titletext - Their job title.
- Company
companytext - Their company.
- Website
websitetext - Their website.
- Phone
phonetext - Their work phone number.
- Home phone
homePhonetext - Their home phone number.
- Street address
addresstext - Their street address.
- City
citytext - Their city.
- State or region
regiontext - Their state or region.
- Postal code
postalCodetext - Their postal or ZIP code.
- Country
countrytext - Their country.
- Status
statustext - Set the contact's status.One of:
Active,Inactive,Spam,Deleted. - Do not contact
donotcontacttrue/false - Turn on to stop all messages to them.
- Opted out of email
optOutEmailtrue/false - Turn on if they don't want email.
- Opted out of texts
optOutSmstrue/false - Turn on if they don't want text messages.
- Custom fields
extendedPropertiesobject - 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
}
}