API Objects
JSON objects used in Cardsmobile Push API requests
Documentation has moved
The information on this page is no longer updated and may be obsolete. The most current Koshelek documentation is now available at the new address:
1. Payload Object
The object contains information on a transmitted message. The object consists of the following fields:
Field | Type | Mandatory | Description |
---|---|---|---|
| String | Yes | Message title (max 50 characters). |
| String | Yes | Message body (max 150 characters). |
| String | No | URL of image attached to the message (size 1024×512 px, JPG or PNG format). Non-mandatory. If specified for transactional and service messages, it will be ignored. |
| Object | Yes | Internal application link ("deep link") for transferring to a certain screen in the Koshelek app. Presented by JSON object DeepLink. |
2. DeepLink Object
The object contains information on a deep link. Consists of the following fields:
Field | Type | Mandatory | Description |
---|---|---|---|
| String | Yes | Determines the Koshelek app screen to open when a user taps on the message:
|
| String | No | ID of the promotional action to display. Mandatory, if ID of the promotional action from partner's CRM or from partner's Personal account in Koshelek for Business must be specified here. |
3. QoS Object
The object contains information on settings of message delivery. Consists of the following fields:
Field | Type | Mandatory | Description |
---|---|---|---|
| Boolean | No | Determines whether or not the sender will be notified about the message status change via the Callback API:
|
4. UTM Object
The object contains additional settings for the delivery. Consists of the following fields:
Field | Type | Mandatory | Description |
---|---|---|---|
| String | No | The source of the delivery. |
| String | No | Traffic type. |
| String | No | Campaign name. |
Last updated