This is an API of Swoo Push intended for partners that would like to use Swoo application as a delivery channel.
Swoo push API allows
Please contact us for
The diagram below outlines baseline interaction for the partner.

For the Swoo Push API, the following Auth Schema is used in addition to IP-based whitelists:
Check if msisdn is registered and account is subscribed to receive push notifications
| partnerId required | string Partner ID |
| msisdn required | string [ 8 .. 15 ] characters Account phone number without leading + |
{- "msisdn": "37520111111"
}{- "state": "MSISDN_NOT_REGISTERED"
}Send push notification to the subscribed account
| partnerId required | string Partner ID |
| pushType | string Enum: "SERVICE" "TRANSACTION" "PROMO" "WELCOME" Push notification type determines priority & default expiration time:
|
| msisdn required | string [ 8 .. 15 ] characters Account phone number without leading + |
required | object Payload |
required | object Quality of service |
object |
{- "pushType": "SERVICE",
- "msisdn": "37520111111",
- "payload": {
- "title": "string",
- "message": "string",
- "image": "string"
}, - "qos": {
- "deliverDue": "2019-08-24T14:15:22Z",
- "deliveryStatusNotifications": true
}, - "tariff": {
- "baseValue": "0.05"
}
}{- "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
- "msisdn": "37520111111",
- "state": "ACCEPTED",
- "type": "SERVICE",
- "expiresAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| messageId required | string <uuid> Push notification ID |
| msisdn required | string [ 8 .. 15 ] characters Account phone number without leading + |
| state required | string Enum: "ACCEPTED" "MSISDN_NOT_REGISTERED" "CLIENT_UNSUBSCRIBED" "CLIENT_UNREGISTERED" "ENQUEUED" "DELIVERED" "OPENED" "ERROR" "EXPIRED_DELIVERED" Push notification delivery state:
|
| time required | string <date-time> Created date |
{- "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
- "msisdn": "37520111111",
- "state": "ACCEPTED",
- "time": "2019-08-24T14:15:22Z"
}