Skip to content

Kakao API

createKakaoMessage

Anchor link to

Used to send Kakao messages to users

POST https://api.pushwoosh.com/json/1.3/createKakaoMessage

Prerequisites

Anchor link to

Before using this endpoint, ensure:

  1. Kakao platform is configured: Your Pushwoosh application must have Kakao credentials configured. Learn more

  2. Templates are approved: Kakao templates must be created and approved before they can be used. Learn more

  3. Devices are registered: Devices must be registered with the kakao: prefix to be recognized as Kakao endpoints.

Request body

Anchor link to
Name
Required
TypeDescription
auth*YesstringAPI access token from Pushwoosh Control Panel.
application*YesstringPushwoosh application code
notifications*YesarrayArray of notification objects. See details below.

Notification parameters

Anchor link to
Name
RequiredTypeDescription
send_date*YesstringDate and time to send the message. Use format YYYY-MM-DD HH:MM:SS (UTC) or "now" to send immediately. All times are interpreted as UTC.
devices*Required if users is not providedarray[string]List of device tokens. Each token must be prefixed with kakao: (e.g., "kakao:user_token").
users*Required if devices is not providedarray[string]List of user IDs to target.
template*YesstringKakao template name. Must be a pre-approved template. Learn more
kakao_content_variablesNoobjectKey-value pairs for template variable substitution. Keys must match variables defined in your Kakao template. Optional but allows dynamic personalization of your Kakao messages.

Forbidden parameters

Anchor link to

The following parameters are not allowed for this endpoint and will result in a validation error:

  • platforms: Platform is automatically set to Kakao
  • filter: Device filtering not supported
  • filter_code: Filter codes not supported
  • conditions: Conditional targeting not supported

Request example

Anchor link to
{
"request": {
"auth": "your-api-access-token", // required. API access token from Pushwoosh Control Panel.
"application": "XXXXX-XXXXX", // required. Pushwoosh application code.
"notifications": [
{
"send_date": "now", // required. YYYY-MM-DD HH:MM:SS (UTC) OR "now".
"devices": ["kakao:user123@kakao.com", "kakao:device_abc"], // required if users is not provided. Device tokens with kakao: prefix.
"users": ["user_001", "user_002"], // required if devices is not provided. User IDs to target.
"template": "welcome_message", // required. Kakao template name (must be pre-approved).
"kakao_content_variables": { // optional. Template variable substitution.
"user_name": "John Doe",
"order_number": "12345"
}
}
]
}
}

Response example

Anchor link to
{
"status_code": 200,
"response": {
"Messages": ["MESSAGE_ID_1"],
"Warnings": [],
"UnknownDevices": {},
"UnknownUsers": {},
"FailedDevices": {},
"UnknownPhoneNumbers": {}
}
}
FieldTypeDescription
Messagesarray[string]Array of message IDs created for tracking
WarningsarrayAny warnings generated during processing
UnknownDevicesobjectDevices that could not be found
UnknownUsersobjectUser IDs that could not be resolved
FailedDevicesobjectDevices that failed during processing
UnknownPhoneNumbersobjectPhone numbers that could not be found

Code examples

Anchor link to
Terminal window
curl -X POST "https://api.pushwoosh.com/json/1.3/createKakaoMessage" \
-H "Content-Type: application/json" \
-d '{
"request": {
"auth": "your-api-access-token",
"application": "XXXXX-XXXXX",
"notifications": [
{
"send_date": "now",
"devices": ["kakao:user123@kakao.com", "kakao:device_abc"],
"template": "welcome_message",
"kakao_content_variables": {
"user_name": "John Doe",
"order_number": "12345"
}
}
]
}
}'

Example: Sending to users instead of devices

Anchor link to
{
"request": {
"auth": "your-api-access-token",
"application": "XXXXX-XXXXX",
"notifications": [
{
"send_date": "now",
"users": ["user_001", "user_002", "user_003"],
"template": "promotion_alert",
"kakao_content_variables": {
"discount_percent": "20",
"promo_code": "SAVE20"
}
}
]
}
}

Example: Scheduled message

Anchor link to
{
"request": {
"auth": "your-api-access-token",
"application": "XXXXX-XXXXX",
"notifications": [
{
"send_date": "2024-12-25 09:00:00",
"devices": ["kakao:user123"],
"template": "holiday_greeting"
}
]
}
}