Test push notification data message
This is a test method to push a notification message to the given device tokens.
Query parameters
projectIdstringRequired
The id of the project in the notification app.
privateKeystringRequired
The privateKey in the notification app.
clientEmailstringRequired
The clientEmail in the notification app.
titlestringRequired
The title of the notification.
bodystringRequired
The body of the notification.
tokensstring[]Required
The list tokens.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-KeystringRequiredExample:
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
401
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
application/json
429
API call exceeded rate limit due to too many requests.
application/json
post
POST /api/v1/notifications/push-notification-messages/test HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"countSuccess": 10
},
"errors": []
}
Last updated
Was this helpful?