ncloud_sens_send_brandmessage
Send KakaoTalk Brand Messages through Naver SENS, supporting free-form or template-based content, audience targeting, scheduling, and SMS failover. Use dryRun to preview before sending.
Instructions
Send KakaoTalk Brand Messages through SENS (POST /brandmessage/v2/services/{serviceId}/messages → 202). Free-form: set messageType and type-specific fields per message; template-based: set templateCode (+ messageType of the template) and messages[].templateParameters. Not deliverable 20:50-08:00 (code 3022). targeting I (default) = ad-consented channel friends, M = all ad-consented, N = ad-consented non-friends (M/N need an 080 number). Use dryRun=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns the request preview without sending | |
| isAdult | No | Adult-only content (default false) | |
| messages | Yes | Recipients with type-specific payload (1-100) | |
| serviceId | No | Biz Message service ID in NRN form (e.g. ncp:kkobizmsg:kr:1********2:myproject). Defaults to NCLOUD_SENS_BRANDMESSAGE_SERVICE_ID (or NCLOUD_SENS_ALIMTALK_SERVICE_ID) / NCLOUD_SENS_SERVICE_ID. Find it with ncloud_sens_list_projects (kkoBizMsgService.serviceId). A 'Forbidden' reply means the project does not have this channel enabled. | |
| targeting | No | Audience: M | N | I (default I) | |
| messageType | Yes | Message layout type | |
| reserveTime | No | Scheduled send time 'YYYY-MM-DD HH:mm' (no seconds; must be at least 10 minutes from now) | |
| plusFriendId | Yes | KakaoTalk channel ID (e.g. @channelname) | |
| templateCode | No | Template code for template-based (기본형) sending | |
| reserveTimeZone | No | tz database name for reserveTime (default Asia/Seoul) |