Listing Push Notification
Listing-related push notifications notify users when important listing activities occur in your Sharetribe marketplace.
These notifications help keep users engaged and informed about changes without requiring them to open the app.
What Are Listing Push Notifications?
Listing push notifications are sent when events related to listings occur, such as:
- Listing created
- Listing updated
- Listing published
- Listing deleted
Each event triggers a one-time push notification to the relevant userโs mobile device.
๐ Important Notes
- Each push notification must be triggered from one Zap
- You must create two separate Zaps:
- Zap 1: Listing Events
- Zap 2: Transaction Events
- Each Zap must send data to Twinrโs Push Notification Webhook Endpoint
- Both Zaps work independently and must be published separately
Create Zap for Listing Events
Create this Zap only if you want push notifications for listing-related events.
Step 1: Create a New Zap
- Log in to Zapier
- Click Create Zap

Step 2: Select Sharetribe as Trigger App
- Choose Sharetribe
- Click Continue
- Connect your Sharetribe account
- Select the correct marketplace


Step 3: Choose Trigger Event (Listing Events)
- Select Listing Events
- Click Continue
- Choose an Event Type, such as:
- Listing created
- Listing updated
- Listing deleted
- Listing published
- Test the trigger and continue

- Select Account
- Enter Client ID and Client Secret (Available in Sharetribe Application)


Step 4: (Optional) Format Date/Time
- Click "Action" or "+"
- Add Formatter by Zapier

- Select Date / Time
- Go to Configure
- Format the timestamp if required
- Continue


Step 5: Send Push Notification to Twinr
- Add Webhooks by Zapier

- Choose any HTTP method:
- POST
- GET
- PUT
- Custom Request

- Click "Continue"
- Click Method and Select POST
- Enter the Twinr Push Notification Webhook Endpoint in URL field
Each field in the request body controls how and where the push notification is delivered.
| Field | Description |
|---|---|
app_id |
Unique App ID of your Twinr application. This ensures the notification is sent to the correct app. (You will find App ID from URL) |
push_title |
Title text shown at the top of the push notification. |
push_message |
Main message content displayed in the notification. |
push_image |
Optional image URL to display in the notification (if supported by the platform). |
is_android |
Set to true to send the notification to Android devices. |
is_ios |
Set to true to send the notification to iOS devices. |
segment_id |
Target a specific user segment (optional). |
click_action.type |
Defines what happens when the user taps the notification (for example, open a screen or deep link). |
- Map required fields (listing data +
app_id)
OR
- Enter API Request body in the Data field if you choose "Custom Request"
- In Headers, add
Authorizationwith the valueBearer <your account secret>. Create the secret at My Profile โ Account secrets and scope it to this app; see Account Secrets. Without it, Twinr refuses the request. - Make Data Pass -Through? - False
- Click Continue
- Test the request
Step 6: Publish Zap
- Click Publish
- Your Listing Events push notification is now live
Alternative: Store the Token Yourself
By default, Twinr writes the device token to the user's Sharetribe profile metadata, and the Zap reads it with Show User. If you prefer to manage the token yourself, call twinr_push_token_fetch() on your marketplace page and save the returned token to the user's own profile data in your own code. Then map that field in the Zap instead of metadata.device_push_token. See Push Notification - Device Token.
Twinr writes the token for you only when your app is built with the latest Twinr version and has a paid app subscription. The JS bridge needs Personalized Push Notification enabled.
