Download OpenAPI specification:Download
Signalize API
Creates a new instance of a PushMessage V3
with multi language and channel support.
object (Schedule) Optional object for scheduling, if not set, the message will be sent immediately. | |
object (SegmentFilter) Optional object to filter subscriber | |
status | string Enum: "TEMPLATE" "ACTIVE" |
validUntil | integer <int64> Timestamp (in ms) after which the message will be deleted / not shown to a receiver anymore |
object (PushMessageV3WebPush) Data for a web/safari message |
{- "validUntil": 1597134207000,
- "segmentFilter": {
- "segments": [
- {
- "name": "custom_segment_SIGNALIZE_INTEREST",
- "operator": "CONTAINS",
- "value": "Thema 1"
}
]
}, - "webPush": {
- "webPushMessageTexts": [
- {
- "language": "de",
- "standard": true,
- "title": "Hello World!",
- "message": "This is a test-message.",
}
]
}
}
{- "messageId": 42
}
Deprecated: use /v3/subscriptions/pushmessages
instead.
Creates a new instance of a PushMessage V3
with multi language and
channel support. The message is sent out directly to the given client ID.
For this endpoint, you need to know the ID of a specific subscriber, called clientId
.
This ID can only be obtained via JavaScript if the client visits your page.
If Signalize is activated and the client supports web-push, a global object called et_signalize
will be available.
Since Signalize is loaded asynchronously, it might not be set before the whole page was loaded.
Once loaded, you can call et_signalize.getClientId()
to receive the unique clientId
.
object (Schedule) Optional object for scheduling, if not set, the message will be sent immediately. | |
object (SegmentFilter) Optional object to filter subscriber | |
status | string Enum: "TEMPLATE" "ACTIVE" |
validUntil | integer <int64> Timestamp (in ms) after which the message will be deleted / not shown to a receiver anymore |
object (PushMessageV3WebPush) Data for a web/safari message |
{- "validUntil": 1597134207000,
- "webPush": {
- "webPushMessageTexts": [
- {
- "language": "de",
- "standard": true,
- "title": "Hello World!",
- "message": "This is a test-message.",
}
]
}
}
{- "messageId": 42
}
Creates a new instance of a PushMessage V3
with multi language and channel support.
The message is sent out directly to the given subscriptions.
Addressing can be done via client-IDs or external-IDs.
Optional identifier that can be attached to a subscription when a subscriber visits your page.
This should be a value you already know (for example a CRM-ID) which never changes.
It can be set via a GET parameter called et_exid
on your website (e.g.: www.example.com?et_exid=someId
).
Or via a global JS-variable with the same name (e.g.: var et_exid="someID";
).
If you don't want to provide an external-ID, a unique (but potentially changing) ID is also given by Signalize, called clientId
.
This ID can only be obtained via JavaScript if the subscriber visits your page.
If Signalize is active and the client supports web-push, a global object called et_signalize
will be available.
Since Signalize is loaded asynchronously, it might not be set before the whole page was loaded.
Once loaded, you can call et_signalize.getClientId()
to receive the unique clientId
.
clientIds | Array of strings Optional list of client-IDs |
externalIds | Array of strings Optional list of external-IDs |
required | object (PushMessageV3Input) |
{- "externalIds": [
- "12345",
- "67890"
], - "message": {
- "validUntil": 1597134207000,
- "webPush": {
- "webPushMessageTexts": [
- {
- "language": "de",
- "standard": true,
- "title": "Hello World!",
- "message": "This is a test-message.",
}
]
}
}
}
{- "messageId": 42
}
Sends an existing message / template to the given subscriptions.
Templates can be created beforehand in the UI, which will also display the ID.
Addressing is done via client-IDs or external-IDs.
For more information about obtaining subscription IDs, see /v3/subscriptions/pushmessages
.
clientIds | Array of strings Optional list of client-IDs |
externalIds | Array of strings Optional list of external-IDs |
{- "externalIds": [
- "12345",
- "67890"
]
}
{- "messageId": 42
}