Friend Talk
API that allows messaging only to users who have connected with the KakaoTalk channel but can send both informational and promotional messages.
Last updated
API that allows messaging only to users who have connected with the KakaoTalk channel but can send both informational and promotional messages.
Last updated
To use the service, you need to register the sender number in [Service Console / Sender Number].
To use the service, you need to perform a new registration in [Service Console / Template Management].
Message sending is restricted between 20:50 and 08:00 (KST).
This API can deliver the message sending results through a .
Please refer to the following information to ensure that path variables (enclosed in curly braces {}) within each URI are not omitted when making calls.
service_id
service id
ft-text : friend talk text
ft-image : friend talk image
ft-wide : friend talk wide
ft-wide-item-list: friend talk wide item list
ft-carousel-feed: friend talk carousel feed
POST
https://9tpssuhbpx.apigw.ntruss.com/{service_id}/v2/send
Authorization*
string
userID;secret_key
Content-Type*
string
application/json;charset=utf-8
msg_data*
array
Detailed data of messages (up to 10 records)
sender_key*
string
Kakao BizMessage sender profile key. (Registration is required in [Service Console / Sender Profile Registration].)
header
string
Wide item list header (32 byte)
(Requied when use Wide item list)
msg*
string
Transmitted message (up to 1000 characters including spaces)
receiver_number*
string
Recipient's mobile phone number
sender_number*
string
Sender's phone number
msg_key*
string
Unique key for the message managed by the user (automatically assigned if null or blank)
echo_to_webhook
string
The string to be received along with the webhook from API PLEX by the user (up to 256 bytes)
attachment
object
ad_flag
string
Display mandatory information for promotional messages (default value: Y)
carousel
object
carousel data
failback_data
object
secret_key
string
failback service's sub_account's secret_key (required when use failback)
api_unique_id
string
failback service's unique id (required when use failback)
String
payload for failback service request body.
fill fileds failback service required.
button
array
N
Button attribute data (up to 5)
name
string
Y
Button title (112 byte)
type
string
Y
url_pc
string
N
URL to move to when the button is clicked in a PC environment
url_mobile
string
N
URL to move to when the button is clicked in a mobile environment
scheme_android
string
N
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
scheme_ios
string
N
Custom scheme of the application to be executed when the button is clicked in a mobile IOS environment
chat_extra
string
N
Metadata to be transferred when switching to a bot (50 bytes)
chat_event
string
N
Bot event name to be linked when switching to a bot (50 bytes)
image
object
N
Used for images in KakaoTalk Friend Talk or KakaoTalk Wide
img_url
string
N
Image path URL
img_link
string
N
URL to go to when click image if not set, use kakao talk inner image viewer
item
object
N
friend talk wide item list information
list
array
N
wide item list (minimum: 3, maximum: 4)
title
string
Y
item title (25 byte)
img_url
string
Y
image URL
scheme_android
string
N
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
scheme_ios
string
N
Custom scheme of the application to be executed when the button is clicked in a mobile IOS environment
url_mobile
string
Y
URL to move to when the button is clicked in a mobile environment
url_pc
string
N
URL to move to when the button is clicked in a PC environment
list
array
carousel list (minimum: 2, maximum: 6)
header
string
Y
carousel item title (20 byte)
message
string
Y
carousel item message (180 byte)
attachment
object
button
array
name
string
Y
button title (8 byte)
type
string
Y
scheme_android
string
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
scheme_ios
string
Custom scheme of the application to be executed when the button is clicked in a mobile IOS environment
url_mobile
string
URL to move to when the button is clicked in a mobile environment
url_pc
string
URL to move to when the button is clicked in a PC environment
image
object
carousel thumnail image
img_url
string
Y
carousel thumnail image URL
img_link
string
carousel thumnail image link URL
coupon
object
coupon at the bottom of the carousel
title
string
coupon name
description
string
coupon description (12자)
scheme_android
string
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
scheme_ios
string
Custom scheme of the application to be executed when the button is clicked in a mobile IOS environment
url_mobile
string
URL to move to when the button is clicked in a mobile environment
url_pc
string
URL to move to when the button is clicked in a PC environment
tail
object
"more" button information
scheme_android
string
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
scheme_ios
string
Custom scheme of the application to be executed when the button is clicked in a mobile IOS environment
url_mobile
string
URL to move to when the button is clicked in a mobile environment
url_pc
string
URL to move to when the button is clicked in a PC environment
WL
url_mobile
string
Y
[Web link] Web URL to move to when clicked for direct connection, depending on the PC/mobile environment
url_pc
string
N
Same as above
AL
scheme_android
string
Y
[App link] Either scheme_ios
, scheme_android
, or url_mobile
is required
Custom scheme of the application to be executed when the button is clicked in a mobile Android environment
Custom scheme for mobile iOS
URL to move to when the button is clicked in a mobile environment
scheme_ios
string
Y
Same as above
url_mobile
string
Y
Same as above
url_pc
string
-
URL to move to when the button is clicked in a PC environment
BK
-
-
-
Send the corresponding button text
MD
-
-
-
Send both the corresponding button text and the message body
BC
-
-
-
Available only for KakaoTalk channels using Consultation Talk
chat_extra
string
N
Metadata to be transferred when switching to Consultation Talk
BT
-
-
-
Available only for KakaoTalk channels using Kakao | Open Builder chatbots
chat_extra
string
N
Metadata to be transferred when switching to a bot
chat_event
string
N
Bot event name to be linked when switching to a bot
BF
biz_form_key
string
Y
BizForm key obtained through BizForm upload
friend talk text(ft-text)
14 letters
friend talk image(ft-image)
14 letters
friend talk wide(ft-wide)
8 letters
friend talk wide item list(ft-wide-item-list)
8 letters
friend talk carousel feed(ft-carousel-feed)
8 letters
results
array
Received message data
msg_key
string
Unique key for the message
code
string
desc
string
Detailed acceptance result code
C100
Success
C400_1
Invalid data type
Refer to the description in the response body
C400_2
Invalid request parameter
Refer to the description in the response body
C400_3
Missing required parameters
Refer to the description in the response body
C404_1
Unable to find the data
Refer to the description in the response body
C500_1
Internal server error
Refer to the description in the response body
G110
API UNIQUE ID exception (Invalid URL)
G140
Sender number exception
G141
Recipient number exception
G142
Invalid echo_to_webhook
value
Exceed 256 byte or type error
G150
Insufficient credit
G160
Exceeded the maximum number of transmissions per session
Button or image data (refer to )
(refer to )
data
(see )
(refer to )
Button type (Refer to the )
button type (refer to )
Acceptance result code (Refer to )