Refresh device token
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Body
Represents a request to refresh a mobile device token for Firebase push notifications.
oldTokenstring · min: 1Required
The previous Firebase device token that is now obsolete.
newTokenstring · min: 1Required
The new Firebase device token to replace the old one.
Responses
200
The request was successful.
application/json
429
API call exceeded rate limit due to too many requests.
application/json
post
POST /api/v1/devices/refresh-token HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"oldToken": "text",
"newToken": "text"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": true,
"errors": []
}
Last updated
Was this helpful?