-
Notifications
You must be signed in to change notification settings - Fork 9
Mobile Push Registration API
Juraj Ďurech edited this page May 14, 2019
·
14 revisions
PowerAuth Web Flow documentation has been moved to: https://developers.wultra.com/docs/develop/powerauth-webflow/Mobile-Push-Registration-API
Please use the new developer portal to access documentation.
In order to register mobile device to the push notifications, following endpoints are published.
Registers a device to push notifications.
Method | POST |
Resource URI | /api/push/device/register |
- Headers:
Content-Type: application/json
X-PowerAuth-Token: ...
{
"requestObject": {
"platform": "ios",
"token": "10de0b9c-791f-4e9f-93c4-e2203951c307"
}
}
Supported platforms:
ios
android
- Status Code:
200
- Headers:
Content-Type: application/json
{
"status": "OK"
}
- Returned when Push Server returns error during registration.
- Status Code:
400
- Headers:
Content-Type: application/json
{
"status": "ERROR",
"responseObject": {
"code": "PUSH_REGISTRATION_FAILED",
"message": "Push registration failed in Mobile Token API component."
}
}
- Returned when PowerAuth authentication fails.
- Status Code:
401
- Headers:
Content-Type: application/json
{
"status": "ERROR",
"responseObject": {
"code": "POWERAUTH_AUTH_FAIL",
"message": "Unable to verify device registration"
}
}
- Returned when request object is invalid.
- Status Code:
400
- Headers:
Content-Type: application/json
{
"status": "ERROR",
"responseObject": {
"code": "INVALID_REQUEST",
"message": "Invalid request object sent to Mobile Token API component."
}
}
- Returned when application or activation is invalid.
- Status Code:
400
- Headers:
Content-Type: application/json
{
"status": "ERROR",
"responseObject": {
"code": "INVALID_ACTIVATION",
"message": "Invalid activation found in Mobile Token API component."
}
}
Overview
Applications
- Web Flow Server
- Next Step Server
- Data Adapter
- Mobile Token
- PowerAuth Server
- PowerAuth Admin
- PowerAuth Push Server
REST APIs
- NextStep Server REST API Reference
- Data Adapter REST API Reference
- Web Flow REST API Reference
- Mobile Push Registration API
- Mobile Token REST API Reference
Deployment
Customizing Web Flow
- Customizing Web Flow Appearance
- Implementing Data Adapter Interface
- Web Flow Configuration
- Configuring Next Step Definitions
- Customizing Operation Form Data
- Mobile Token Configuration
Technical Notes
Development
Releases