Instant sending
Endpoints
Send Push Instantly
curl --url "https://core.push.express/api/b/v2/send/instant"
--request POST
--header "content-type: application/json"
--header "Authorization: Bearer ..."
--data '
{
"name": "Name of scheduler",
"filters": {
"all_apps": false,
"app_ids_include": [
123,
234
],
"app_ids_exclude": [
345
],
"app_groups_include": [
1
],
"app_groups_exclude": null,
"all_countries": false,
"countries_include": [
"PT",
"GB"
],
"countries_exclude": [],
"all_languages": true,
"languages_include": [],
"languages_exclude": [
"pt"
],
"all_audiences": false,
"audiences_include": [
"myaud1_1234",
"myaud2_1234"
],
"audiences_exclude": [
"myaud3_1234"
],
"audience_groups_include": [
11,
22
],
"audience_groups_exclude": [
33
],
"event_include": ["install","reg"],
"event_exclude": ["dep"],
"external_ids":[
"0b50bec7-ea47-437c-be5b-c4344bf0fc53",
"b8c966b3-83be-44d5-a0f1-67faf45278e5"
]
},
"push": {
"default_lang": "en",
"translations": [
{
"language": "en",
"title": "Title Of My Push",
"text": "Text of my push",
"image": "link-to/image/for.my.push",
"icon": "link-to/icon/for.my.push",
"link": "link-for.my.push"
},
{
"language": "pt",
"title": "Título do meu push",
"text": "Texto do meu push"
},
...
]
}
}Error handling
Last updated