Send Notification
curl --request POST \
--url https://developer.world.org/api/v2/minikit/send-notification \
--header 'Content-Type: application/json' \
--data '
{
"app_id": "app_id",
"wallet_addresses": [
"0x123",
"0x456"
],
"title": "title",
"message": "Hello ${username}, your transaction is complete!",
"mini_app_path": "mini_app_path"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
app_id: 'app_id',
wallet_addresses: ['0x123', '0x456'],
title: 'title',
message: 'Hello ${username}, your transaction is complete!',
mini_app_path: 'mini_app_path'
})
};
fetch('https://developer.world.org/api/v2/minikit/send-notification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": [
{
"walletAddress": "<string>",
"sent": true,
"reason": "<string>"
}
]
}Developer Portal
Send Notification
Send notifications to users of your mini app.
POST
/
api
/
v2
/
minikit
/
send-notification
Send Notification
curl --request POST \
--url https://developer.world.org/api/v2/minikit/send-notification \
--header 'Content-Type: application/json' \
--data '
{
"app_id": "app_id",
"wallet_addresses": [
"0x123",
"0x456"
],
"title": "title",
"message": "Hello ${username}, your transaction is complete!",
"mini_app_path": "mini_app_path"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
app_id: 'app_id',
wallet_addresses: ['0x123', '0x456'],
title: 'title',
message: 'Hello ${username}, your transaction is complete!',
mini_app_path: 'mini_app_path'
})
};
fetch('https://developer.world.org/api/v2/minikit/send-notification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": [
{
"walletAddress": "<string>",
"sent": true,
"reason": "<string>"
}
]
}Body
application/json
- Option 1
- Option 2
Supports legacy payload (title + message) and localized payload (localisations). If both are provided, localized payload is used.
Was this page helpful?