User Notifications

Details about user notifications can be retrieved here

Node
  • /users/{your-user-id-here}/preferences/notifications
Examples

Send a GET request

Sample Request
curl -X GET \
  https://cloud.modjoul.com/dev/users/{your-user-id-here}/preferences/notifications \
  -H 'Authorization: your-authorization-token-here' 
Sample Response
{
    "device_tokens": [
        
    ],
    "push": [
        "RED_CHECK",
        "YELLOW_CHECK"
    ],
    "email": [
        "RED_CHECK",
        "YELLOW_CHECK"
    ]
}