본문 바로가기메인 메뉴 바로가기사이드 메뉴 바로가기

kakao developers

Related sites
  • Docs
  • Usage Guide
  • Webhooks

사이드 메뉴

Search

This document guides the webhook information for the Kakao Developers.

Webhooks let the Kakao API server quickly notify your service of user activities or account status changes by sending HTTP requests.

The Kakao Developers supports the following webhooks.

WebhookDescriptionRelated product
Unlink webhookSends a webhook when a user unlinks their Kakao Account from a service app.Kakao Login
Account status change webhookSends a webhook when a user's Kakao Account status changes.Kakao Login
Kakao Talk Share webhookSends a webhook when a Kakao Talk Share message is successfully sent to the selected users or chatrooms.Kakao Talk Share
Kakao Talk Channel webhookSends a webhook when a user adds or blocks one of your Kakao Talk Channels.Kakao Talk Channel

To implement webhooks in your service, follow these steps.

To receive webhooks from Kakao, you must build an API endpoint. You need to do as below.

  • Build an endpoint that handles the webhook requests that Kakao sends with a POST or GET method.
    • (Example: https://{SERVICE_DOMAIN}/webhook)
  • Parse the event data sent in JSON format or as URL query parameters.
  • Use the domain with a valid SSL certificate because webhook requests are sent via HTTPS protocol.

If you manage an ACL (Access Control List), see IP allowlist for webhooks.

Register the endpoint you created as a webhook URL in Kakao Developers.

When an event triggers, Kakao sends an HTTP request to your endpoint.

Your service that receives the request must handle as below.

  1. Parse the request body payload to identify the event.
  2. Perform any follow-up actions based on the event, such as deactivating a user or updating account status.
  3. Return the appropriate HTTP status code within 3 seconds, such as 200 OK or 202 Accepted. Kakao checks only the status code, not the response body.
WebhookActions
Unlink webhook
  1. Verify the webhook by checking whether the Admin key in the webhook header is the Primary admin key and validating other parameter values.
  2. If the webhook is valid, process withdrawal, deletion, or other updates for the user corresponding to user_id in the database (DB) according to the privacy policy and service policy.
Account status change webhook
  1. Decode and verify the SET token (Security Event Token).
  2. Implement the recommended actions for each event type.
Kakao Talk Share webhook
  1. Verify the webhook by checking whether the Admin key in the webhook header is the Primary admin key and validating other parameter values.
  2. If the webhook is valid, perform additional internal processing in the service based on the serverCallbackArgs information. (optional)
Kakao Talk Channel webhook
  1. Verify the webhook by checking whether the Admin key in the webhook header is the Primary admin key and validating other parameter values.
  2. If the webhook is valid, update the added or blocked status of the modified Kakao Talk Channel.

After you implement webhooks, use the Kakao webhook testing tool to send test events and verify your handling. See Webhook test.

You must respond to every webhook request within 3 seconds with the correct HTTP status code (Example: 200 OK, 202 Accepted).

For the Required response format, see each webhook’s documentation.

You do not need to include a response body, as Kakao determines success solely based on the HTTP status code.

A webhook may be deactivated if there is no response for over one month under the required response format or if a high error rate persists.

If your service manages an ACL (Access Control List) on the server, add Kakao's IP addresses to the allowlist so it can receive webhook requests. See Firewall.

If your server fails to handle a webhook, Kakao redelivers the event so that your service can process the missing event.

This feature is available for the following webhooks:

If your server does not respond to the initial request, Kakao retries step by step as below.

  • Stage 1: Resend twice at 5-minute intervals.
  • Stage 2: Resend twice at 30-minute intervals.
  • Stage 3: Resend once after 60 minutes.

If none of the six attempts succeeds, Kakao considers the webhook delivery as failed.

However, if the Account status change webhook fails continuously for 3 hours, Kakao deactivates the webhook. In this case, delivery stops immediately regardless of the remaining retries, and the webhook is considered failed.

The Kakao Talk Share webhook, Kakao Talk Channel webhook, and Kakao Membership webhook are not deactivated by continuous delivery failures. Kakao retries until all retries are used, and if the last retry also fails, the webhook delivery is considered failed.

To start receiving requests again, re-enable the webhook on the Account status change webhook page.

Was this helpful?

    Usage Guide > Webhooks - Kakao Developers | Docs