---
title: "New Endpoint"
method: POST
path: "/"
---

# New Endpoint

`POST /`

This is your first endpoint! Edit this page to start documenting your API.

## Headers

- `Authorization` string

## Request body

- object
  - `Recipient` string — The email address or phone number of the recipient.
  - `RecipientSha256` string — The SHA256 encoded string of the recipient, lowercased before hashing. Required if Recipient is not submitted.
  - `WkPurpose` string, required — the purpose for this signal (cart abandonment, category abandonment, low stock, etc.)
  - `WkChannel` string, required — the recommended channel (email, text, etc.)
  - `WkUserType` string, required — the recommended target (customer, prospect, all)
  - `WkCartReplenishUrl` string — the url to drive user back to their cart (if applicable)
  - `WkCouponCode` string — coupon code to serve (if applicable)
  - `WkCouponPurpose` string — coupon code purpose (ie - "Get 20% off") (if applicable)
  - `WkItems` object[] — List of cart items/product recommendations (Max 4 are returned)
    - `WkId` string, required — Unique product identifier id
    - `WkCopy` string, required — Product name or short description
    - `WkImageUrl` string, required — Product image URL
    - `WkUrl` string, required — Product page URL
    - `WkPrice` string — Original price
    - `WkSalePrice` string — Sale price
    - `WkQuantity` string — Number of items remaining in stock quantity
    - `WkAdditionalProperties` object[] — Extension properties for the Signals Webhook that can be added during conversations with Wunderkind
      - `key` string — The key for the additional property
      - `value` string — The value for the additional property
  - `WkAdditionalProperties` object[] — Extension properties for the Signals Webhook that can be added during conversations with Wunderkind
    - `key` string — The key for the additional property
    - `value` string — The value for the additional property

## Response `200`

Successful response

---

[API](https://skmtc.net/wunderkind/apis/wunderhook.md) · [All operations](https://skmtc.net/wunderkind/apis/wunderhook/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wunderkind/wunderhook/versions/a25138bc98f4/schema)
