Store purchase Webhook

Triggered when a user makes a purchase in the Synap store.

To subscribe to this webhook, please set up a URL endpoint capable of receiving POST requests, then let your account manager know the details so we can add it to our system.

Request Details

The request will POST a JSON payload that conforms to the following Typescript interface:

interface StorePurchaseWebhookBody {
  user: {
    id: string;
    name: string;
    email: string;
  };
  portal: {
    id: string;
  };
  objectId: string;
  title: string;
  unlockActions: {
    type: string;
    targetId: string;
  }[];
  purchaseMethod: string;
  shortDescription: string;
  purchasedAt: string;
}

Last updated