Skip to main content
配信メッセージ テスト送信
curl --request POST \
  --url https://api.utage-system.com/v1/accounts/{account_id}/scenarios/{scenario_id}/messages/{message_id}/test-send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "<string>"
}
'
{
  "data": {
    "success": true
  }
}
POST
https://api.utage-system.com/v1/accounts/{account_id}/scenarios/{scenario_id}/messages/{message_id}/test-send
この機能はプレビュー版です。仕様が変更される場合があります。

Authorizations

Authorization
string
header
required

APIキーをBearerトークンとして指定

Path Parameters

account_id
string
required

アカウントID

scenario_id
string
required

シナリオID

message_id
string
required

メッセージID

Body

application/json
to
string
required

テスト送信先。媒体に応じて指定します。

  • mail: メールアドレス
  • line: LINE友だちID(テストアカウントの友だちのみ指定可能。LINE友だち未登録の読者へは送信できません)
  • sms: 電話番号

Response

テスト送信に成功しました(data.success=true)。外部サービスでの送信に失敗した場合は 502 が返ります。

data
object