For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send Kakao Message

The HTTP API can only be used in a server environment.

You can use the HTTP API to send API-triggered Kakao Message campaigns.

Authentication is performed using the SDK Key.

  • Add the SDK Key to the HTTP header as shown below.

  • You can find the SDK Key in the Hackle Dashboard under SDK Integration Info.

X-HACKLE-API-KEY: {YOUR_SERVER_SDK_KEY}

Request

POST https://api.hackle.io/v1/kakao-message/trigger/send

Request Body

Field
Type
Required
Description
Restrict

campaignKey

number

O

Campaign Key for the Kakao Message

users

array<User object>

O

List of users to receive the message

Maximum list length is 50.

User Object

Field
Type
Required
Description

userId

string

O

User ID

apiProperties

object

X

Key-value pairs used for Kakao Message personalization. key(string)-value(string)

Example

Response

The API returns a Success Response or Error Response object as the result of the send request.

Success (200)

A successful response to the Kakao Message send request does not guarantee that the user actually received the Kakao Message.

Statistics on final delivery success can be checked in the Dashboard.

Field
Data Type
Description

dispatchId

string

Unique UUID for the Kakao Message request triggered by the API

message

string

Contains the value "success".

example

Error

Field
Data Type
Description

code

string

A specific response error code

message

string

A message describing the error

example

error case

Http Status
Code
Message
Description

401

INVALID_API_KEY

"Invalid API key"

When an invalid API KEY is included in the header

401

API_KEY_NOT_FOUND

"API key not found"

When no API KEY is included in the header

400

EXCEED_USER_MAX_LENGTH

"Max input length exceeded"

When the maximum number of target users that can be sent at once is exceeded

400

CAMPAIGN_NOT_FOUND

"Could not find kakao message campaign with the given key"

When no API-triggered campaign exists matching the given campaign key

400

EMPTY_IDENTIFIER

"At least one identifier should be given"

When the userId is missing from the target user info for the Kakao send

Last updated