Push Notification
Manage your push notification.
Retrieve a collection of app push notification.
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Error
GET /api/mobile_push HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "count": 100,
  "items": [
    {
      "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
      "app_name": "text",
      "enabled": true
    }
  ]
}Mobile push messages wake up PortSIP Solutions Soft Phone or other Client Apps on mobile device so that a call or Instant Message can be accepted, reducing battery usage and improving reliability Android devices receive push notifications from Firebase Cloud Messaging Server; iOS devices receive push notifications from APNs.
Application name.
Enabled this notification or not.
trueConnect to Apple/Google development push server or production push server:
PRODUCTION: Connect to Apple/Google production push server.DEVELOPMENT: Connect to Apple/Google development push server.
PRODUCTIONPossible values: The Firebase Cloud Messaging service account JSON file.
Content of this APNs SSL certificate key file.
Content of this APNs SSL private key file.
Created push
Error
POST /api/mobile_push HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137
{
  "app_name": "text",
  "enabled": true,
  "mode": "PRODUCTION",
  "android_service_account": "text",
  "ios_certificate": "text",
  "ios_private_key": "text"
}{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Retrieve details of app push notification by it's unique ID.
The unique ID of push profile.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/mobile_push/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "app_name": "text",
  "enabled": true,
  "mode": "PRODUCTION",
  "android_service_account": "text",
  "ios_certificate": "text",
  "ios_private_key": "text"
}The unique ID of push profile.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwApplication name.
Enabled this notification or not.
trueConnect to Apple/Google development push server or production push server:
PRODUCTION: Connect to Apple/Google production push server.DEVELOPMENT: Connect to Apple/Google development push server.
PRODUCTIONPossible values: The Firebase Cloud Messaging service account JSON file.
Content of this APNs SSL certificate key file.
Content of this APNs SSL private key file.
OK
No content
Error
POST /api/mobile_push/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137
{
  "app_name": "text",
  "enabled": true,
  "mode": "PRODUCTION",
  "android_service_account": "text",
  "ios_certificate": "text",
  "ios_private_key": "text"
}No content
The unique ID of push profile.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/mobile_push/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated