ここから開始
4 つのステップで最初のリクエストを実行します
List your connected mobiles and copy the target SID.
Create a notification with a title and message.
Poll the list endpoint by SID.
Use distribued_status and GMT timestamps to track distribution.
Official mobile application
The secure bridge between your phone, dashboard and API.
SMS and call operations pass through the official SMSMobileAPI app installed on your connected phone. The app securely pairs the device with your account, synchronizes authorized events and links the mobile network to the dashboard and REST API.
- Signed releases distributed through the official Google Play and Apple App Store listings
- Google and Apple platform review, signing and distribution controls
- Secure device pairing, HTTPS transport and authenticated API access
- Only the permissions required for the mobile features you enable
認証
認証情報をサーバー上に保持します
Notification endpoints use the apikey parameter. A target phone is identified by sid when sending and by sid or sidentifiant when listing.
POST · GET
Send a notification
https://api.smsmobileapi.com/notification/sendCreates an internal notification for one connected device.
Use it for operational alerts that should appear on a managed phone.
パラメータ
| 名前 | タイプ | 要件 | 説明 |
|---|---|---|---|
apikey |
弦 | 必須 | API キー。 |
sid |
弦 | 必須 | Target mobile SID. |
title |
弦 | オプション | Notification title; defaults to Notification. |
message |
弦 | 必須 | Notification content. |
type |
弦 | オプション | Notification type; defaults to notification. |
リクエストの例
curl -X POST "https://api.smsmobileapi.com/notification/send" \
-d "apikey=YOUR_API_KEY" \
-d "sid=TARGET_SIDENTIFIANT" \
--data-urlencode "title=Order ready" \
--data-urlencode "message=Order #1042 is ready for collection."
回答例
{
"success": true,
"message": "Notification created.",
"id": 22087,
"apikey": "YOUR_API_KEY",
"sid": "508b004b4aadacc4"
}
これを実行したいrequest? Connect your API key at the top of the page to unlock the interactive tester.
接続キー ↑- Creation and distribution are separate events. Use the list endpoint to verify delivery to the device.
得る
List notifications
https://api.smsmobileapi.com/notification/list/Returns up to 200 notifications ordered from newest to oldest.
Use it to monitor distribution and build a notification history.
パラメータ
| 名前 | タイプ | 要件 | 説明 |
|---|---|---|---|
apikey |
弦 | 必須 | API キー。 |
sidentifiant |
弦 | オプション | Filter by target mobile. |
sid |
弦 | オプション | Alias of sidentifiant. |
distribued |
0 | 1 | オプション | 1 for distributed, 0 for not distributed. |
date_from |
年-月-日 | オプション | Start date. |
date_to |
年-月-日 | オプション | End date. |
リクエストの例
curl "https://api.smsmobileapi.com/notification/list/?apikey=YOUR_API_KEY&sidentifiant=TARGET_SIDENTIFIANT&distribued=1"
回答例
{
"success": true,
"count": 1,
"data": [{
"sidentifiant": "508b004b4aadacc4",
"title": "Order ready",
"message": "Order #1042 is ready for collection.",
"distribued": "1",
"distribued_status": "distributed",
"distributed_at_gmt": "2026-03-18 10:18:30",
"distributed_at_unix": 1773829110,
"sent_at_gmt": "2026-03-18 10:15:03",
"sent_at_unix": 1773828903
}]
}
これを実行したいrequest? Connect your API key at the top of the page to unlock the interactive tester.
接続キー ↑- All sent and distributed timestamps are GMT.
トラブルシューティング
エラーと安全な再試行
再試行する前に、HTTP ステータスと JSON エラー フィールドを読み取ります。最初にリクエストを修正せずに、検証または認証の失敗を再試行しないでください。
| HTTP | コード | 対処方法 |
|---|---|---|
| 400 | Missing required param | apikey, sid or message is missing. |
| 400 | Invalid date format | Use YYYY-MM-DD for date_from and date_to. |
| 400 | Invalid distribued value | Only 0 or 1 is accepted. |
| 500 | DB connection / query failed | The notification service could not complete the operation. |
ヘルプが必要ですか?
シークレットではなくリクエスト コンテキストを提供します。
エンドポイント、タイムスタンプ、HTTP ステータス、サニタイズされたレスポンスを共有します。 API キー、トークン、プライベート メッセージ コンテンツは決して含めないでください。


