Queue one generic notification test for this device only
POST
/v1/mobile/devices/current/notification-preferences/test
const url = 'https://api.vocapable.com/v1/mobile/devices/current/notification-preferences/test';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vocapable.com/v1/mobile/devices/current/notification-preferences/test \ --header 'Authorization: Bearer <token>'Queue an ID-only generic test without copying a push route into the response.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MobileNotificationTestReceipt
A generic current-device delivery test acknowledgement with no push route data.
object
accepted
required
Accepted
boolean
Examplegenerated
{ "accepted": true}