Campaigns: Get One (Show)

Description for payload

keytypedescritpionExample
idstringCampaign ID5ae085984753364a280b0000
last_builder_pagestring"cards.edit.id.notify.push-notification"
namebooleanThe name of the campaign.PushNotification Campaign (segment)
typestringThe campaign's type determining elements required or banned for creation. One of ["CardPushNotificationCampaign"].PushNotificationCampaign
guidstringUnique Guid Identifier for campaign-LNW23F4
start_atstringThe date to start campaign delivery. The acceptable format is: "yyyy-mm-ddThh:nn:ss"2020-03-18T12:00:00+00:00
start_nowbooleantrue
end_atstringThe date to remove campaign's content from user's inbox. The date to stop campaign delivery. The acceptable format is: "yyyy-mm-ddThh:nn:ss" . Must not be passed alongside with "expiry_time_value".2016-05-14T13:15:00
created_atstringDate campaign was created at2018-04-25T13:41:44Z
updated_atDate campaign was updated at2018-04-25T13:41:44Z
delivered_atstringDate campaign was delivered at2020-04-20T13:25:29+00:00
thumbnail_urlstringThumbnail url for email campaign (preview) stored on AWS S3https://pulsate-email-staging.s3.eu-west-1.amazonaws.com/templates/default_email_template_thumbnail.png
image_urlstringImage url for email campaign (preview) stored on AWS S3https://pulsate-email-staging.s3.eu-west-1.amazonaws.com/templates/default_email_template_thumbnail.png
statusstringCurrent state of campaign ("Draft", "Paused", "Delivered", "Scheduled", "Active", "Active", "Active", "Active")Delivered
statestringCurrent state of campaign ("initial", "active", "draft", "paused", "stopped", "scheduled")stopped
state_machine_notifications_statestringfinished
allow_replybooleanAllow users to reply to this campaign. Must not be present for simple flow campaigns.false
broadcast_typestringsegment
campaign_expirybooleanfalse
campaign_limitsbooleanfalse
deliverystringcurrent
expiry_datestringThe date to remove campaign's content from user's inbox. The date to stop campaign delivery. The acceptable format is: "yyyy-mm-ddThh:nn:ss". Must not be passed alongside with "expiry_time_value".2016-05-14T13:15:00
expiry_time_framestringA unit of the time after which (from delivery) campaign's content will be removed from user's inbox. Ignored if "expiry_date" was passed.minutes
expiry_time_valueintegerThe time after which (from delivery) campaign's content will be removed from user's inbox. Must not be used alongside with "expiry_date".2
hiddenbooleanWhether campaign is hidden in portal or notfalse
hidden_atstringDate on which campaign was hidden2021-04-25T13:41:44Z
time_framestringA unit of the time after which (from first delivery) user will be able to get the campaign again when meeting the criteria.minutes
time_valueintegerThe time after which (from first delivery) user will be able to get the campaign again when meeting the criteria.4
time_zone_namestringThe time zone name for better campaign delivery setup. The list of available values can be found here: https://pulsate.readme.io/v2.0/docs/campaigns-create-one-new#time-zones-namesEurope/Berlin
time_zone_offsetintegerTimezone offset compared to UTC2
time_windowsObject[
{
"_id": {
"$oid": "60df18a16a61676b73170000"
},
"created_at": null,
"end_at": "15:00",
"start_at": "14:00",
"updated_at": null,
"week_day": "Thursday"
}
]
notification_templatestring
push_notificationObjectPush notification associated with campaign (if applicable){
body_template: campaign.body_template,
category: campaign.category,
destination: campaign.destination,
destination_type: campaign.destination_type,
subtitle_template: campaign.subtitle_template,
title_template: campaign.title_template,
}
sms_notificationObjectSMS notification associated with campaign (if applicable){
body_template:body_template
}
email_notificationObjectEmail notification associated with campaign (if applicable){
from_name: campaign.from_name,
origin_template_id: campaign.origin_template_id,
source: campaign.source,
subject: campaign.subject,
html: campaign.html,
design: campaign.design,
}
goals_attributesObject{
primary: goal.primary,
event_kind: goal.event_kind,
expiry_time_unit: goal.expiry_time_unit,
expiry_time_value: goal.expiry_time_value,
event_identifier: goal.event_identifier,
}
control_groupintegerPercentage of people in control group10
group_idsArray of strings[
"5ae085b84753364a20140000","
5ae085b84753364a20140000"
]
beacon_idsArray of strings[
"5ae085b84753364a20140000","
5ae085b84753364a20140000"
]
geofence_idsArray of strings[
"5ae085b84753364a20140000","
5ae085b84753364a20140000"
]
segment_idsArray of strings[
"5ae085b84753364a20140000","
5ae085b84753364a20140000"
]
beacon_eventsArray of strings
geofence_eventsArray of strings
in_app_event_namesArray of strings
geofence_dwelling_timesObjectA set of geofence ids and their corresponding dwelling time in seconds on which campaign will trigger. Value has to be between (1-60 minutes). This is only set for geofence events that were set to 'dwell'.
subscriptions_countintegerCount of number of users associated with this campaign4
display_typestringShorcut for campaign typePush
targetstringSegments (1)
type_listArray of stringsArray of shortened campaign types[
"push"
]
Language
Credentials
Header
Click Try It! to start a request and see the response here!