---
title: "Add App for enabling push notification"
method: POST
path: "/mobile_push"
tags: ["Push Notification"]
---

# Add App for enabling push notification

`POST /mobile_push`

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.

## Request body

- object
  - `app_name` string — Application name.
  - `enabled` boolean — Enabled this notification or not.
  - `mode` 'PRODUCTION' | 'DEVELOPMENT' — Connect 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.
  - `android_service_account` string — The Firebase Cloud Messaging service account JSON file.
  - `ios_certificate` string — Content of this APNs SSL certificate key file.
  - `ios_private_key` string — Content of this APNs SSL private key file.

## Response `201`

Created push

- object
  - `id` string — The unique ID of the resource.

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
