Lobyco loyalty

Trigger a push notification for a member (Lobyco → HML → Klaviyo)

Relays a push-notification trigger from Lobyco to HML. The body identifies the event — member (memberId, the bare hagarId), activity, campaign and status; HML's Klaviyo flow builds and delivers the message. Returns 202 once the trigger is queued; delivery is asynchronous.

post/api/v1/lobyco/push-trigger

Request body

memberIdstring required

Member to notify — the resolved Hagar ID (bare UUID, no HAGAR- prefix).

activityIdstring required

Lobyco activity that triggered the notification.

campaignIdstring required

Campaign the activity belongs to.

statusstring required

Activity/campaign status — drives which Klaviyo flow fires.

Example request

{
  "memberId": "4ddb5e06-2430-46a7-a3f6-39e836fce6b6"
}

Response

Trigger accepted and queued for HML.

Changes

No recorded changes to this endpoint across all 1 revision of this API.