Mobile Push Notifications
App

Register new app

1min
POST
https://{base_url}/core/api/v1/notification-service/apps

API for registering a new app:

ParameterDescriptionTypeValidation
name*Application name.string
appPlatform*Application platform.stringEnum: [android, ios]
appId*Application ID generated on firebase/apn project.string
enableNotificationbooleandefault: true
accountConfig*
ㅤ↳androidmaxProperties: 1
ㅤㅤㅤ↳projectId*SDS key for the globally unique, user-assigned ID of the parent project for the app.string
ㅤㅤㅤ↳clientEmail*SDS key for firebase service account.string
ㅤㅤㅤ↳privateKey*SDS key for private key for firebase service account.string
*This is required.
HTTP Status Code Summary
CodeDescription
201 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
403 - ForbiddenThe API key doesn't have permissions to perform the request.
409 - ConflictThe request conflicts with another request (perhaps due to using the same idempotent key).
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Body Parameters
body
Description
Register new app
name
*
appPlatform
*
appId
*
enableNotification
accountConfig
*
Responses
201
OK
All Of
SuccessResponse +
error
request
*
data
*
400
Error Occurred
error
*
request
*
401
Error Occurred
error
*
request
*
403
Error Occurred
error
*
request
*
409
Error Occurred
error
*
request
*
Curl
JS
Ruby
Python
Responses
201
400
401
403
409