curl --request POST \
--url https://developer.worldcoin.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"
}'
{
"success": true,
"status": 123,
"result": [
{
"walletAddress": "<string>",
"sent": true,
"reason": "<string>"
}
]
}
Send notifications to users of your mini app.
curl --request POST \
--url https://developer.worldcoin.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"
}'
{
"success": true,
"status": 123,
"result": [
{
"walletAddress": "<string>",
"sent": true,
"reason": "<string>"
}
]
}
Notification send status
The response is of type object
.
Was this page helpful?