Push

Send push notifications

Send a push notification to a user

Send push notification

POST https://api.usewuf.com/v1/push

Request Body

NameTypeDescription

apiKey*

string

Your app API key

userKey*

string

The User key (one between userKey or userGroupKey is required)

title*

string

Notification title

body*

string

Notification body

emoji

String

Emoji to be shown in the title and as icon in the Wuf app

image

String

Optional image to be included in the notification

url

String

Optional URL, shown in the Wuf app

userGroupKey*

String

The User Group Key (one between userKey or userGroupKey is required)

{
    "id": "cllld08g00001ky08yqf5qdozson"
}

Take a look at how you might call this method using different languages, or via curl:

curl https://api.usewuf.com/v1/push  
    -d apiKey='aeZVV0aaUA8y0Dqij_ptna'  
    -d userKey='uswXhaoDan2maAerZK9HZV'  
    -d title='New message received'  
    -d description='Hey, how are you doing?'
    -d emoji='💬'
    -d url='https://mychat.app/user/john'  

Last updated