Webhook Event Payloads

Event Module Description
member.joined MOIM member has joined to the community
member.updated MOIM profile of member has been updated
member.activated MOIM member has become active (e.g. after approval)
product.created MOIM product has been created
product.updated MOIM product has been updated
product.voted MOIM user voted or cancelled a vote on a product
payment.paid MOIM payment has been completed
payment.cancelled MOIM payment has been cancelled
payment.purchaseItemConfirmed MOIM a purchase item has been confirmed
subscription.subscribed MOIM user subscribed to a product
subscription.expired MOIM a subscription has expired
message.created MOIM conversation message has been created
content.created MOIM content (e.g. forum post) has been created

member.joined

Field Type Description
id String The id of the newly joined member
{
  "id": "UAKDIJ23KD"
}

member.updated

Field Type Description
id String The id of the updated member
{
  "id": "UAKDIJ23KD"
}

member.activated

Field Type Description
id String The id of the activated member
inviter String The id of the member who invited this member, if any
{
  "id": "UAKDIJ23KD",
  "inviter": "UQO38DK20F"
}

product.created

Field Type Description
id String The id of the newly created product
{
  "id": "CP:AK290DKFJD"
}

product.updated

Field Type Description
id String The id of the updated product
{
  "id": "CP:AK290DKFJD"
}

product.voted

Field Type Description
id String The id of the voted product
voted boolean indicates whether user voted or cancelled previous vote \ true if user voted, false if use cancelled the vote
{
  "id": "CP:AK290DKFJD",
  "voted": true
}

payment.paid

Field Type Description
id String The id of the paid payment
purchases Array Array of purchase object
purchases.id String id of the purchase
purchases.purchaseItems Array array of purchase item included in the purchase
purchases.purchaseItems.id String id of the purchase item
purchases.purchaseItems.productId String id of the product of the purchase item
{
  "id": "CY:3KNGIY8NDM95M",
  "purchases": [{
    "id": "CU:3F21DTP4WGNUD",
    "purchaseItems": [{
      "id": "CI:36VFD5LDXAVH8",
      "productId": "CP:AK290DKFJD"
    }]
  }]
}

payment.cancelled

Field Type Description
id String The id of the cancelled payment
{
  "id": "CY:3KNGIY8NDM95M"
}

payment.purchaseItemConfirmed

Field Type Description
id String The id of the confirmed purchase item
{
  "id": "CI:36VFD5LDXAVH8"
}

subscription.subscribed

Field Type Description
id String The id of the subscription
payment Array The id of the paid payment
productId Array The id of the product
isRenewal Boolean Indicates if renewal or not
{
  "isRenewal": true,
  "productId": "CP:443IP8RY7ZGU4",
  "id": "H5N9GEY66S"
}

subscription.expired

Field Type Description
id String The id of the paid payment
productId Array The id of the product
{
  "productId": "CP:443IP8RY7ZGU4",
  "id": "H5N9GEY66S"
}

message.created

Field Type Description
id String The id of the created message
conversationId Array The id of the conversation of the message
{
  "id": "MAKDI2932K943",
  "conversationId": "C12KDI930DKF"
}

content.created

Field Type Description
contentId String The id of the newly created content
{
  "contentId": "T9DK23LFA0PXM2"
}

Back to top

Copyright © 2018-2023 CAN Lab PTE Ltd. All Rights Reserved.