API経由でプッシュ通知を送信する
Adalo APIを使用して、iOSまたはAndroidを利用するアプリのユーザーにプッシュ通知を送信します。
開始前に
リクエストの設定
cURL
curl --location 'https://api.adalo.com/notifications' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {Your App API Key}' \
--data-raw '{
"appId": "{your-app-id}}",
"audience": { "id": {userID} },
"notification": {
"titleText": "Hello There",
"bodyText": "This is just a test..."
}
}'リクエストヘッダー
リクエストボディ
メールアドレスでターゲット指定
ユーザーIDでターゲット指定
サーバーレスポンス
通知のトラブルシューティング
ヘルプ
Last updated
Was this helpful?