Client Documentation
Get StartedStatus Page
  • 360Dialog
    • Why you should use 360dialog as Business Solution Provider (BSP)
    • Prices, plans and payment options
  • client hub
    • 360Dialog Client Hub
    • Numbers
      • Manage your WABA
        • Account Statuses
    • Activity
    • Funds
      • Month Closing Invoice (MCI)
    • Payment Management
    • API Keys
    • Template Message Management
    • Partner Change
    • Cancellation
    • Downgrade
  • WhatsApp Marketing
    • Best practices to maintain Account Health and prevent being blocked
    • Driving users to your WhatsApp account
      • WhatsApp Channels
    • Business Search
    • Linking a WABA to a Facebook Page /EN
      • Vinculando uma conta WABA à uma página do Facebook /PT
      • Cómo vincular un WABA a una página de Facebook /ES
    • Linking a WABA to Google Message Ads
    • Ads that Click to WhatsApp (CTWA) /EN
      • Anúncios de Clique para o WhatsApp (CTWA) /PT
        • Como usar o WhatsApp para marketing e vendas? /PT
      • Anuncios que Click to WhatsApp (CTWA) /ES
        • ¿Cómo usar WhatsApp para marketing y ventas? /ES
    • Conversions API (CAPI)
    • Create Ads lookalike audience based on WhatsApp events
    • MM Lite API Beta
      • Onboarding
      • Sending Messages
  • waba basics
    • WhatsApp Business Platform
    • WhatsApp Accounts structure
    • WABA for Government Agencies
    • WABA Policy Enforcement
    • Architecture and Security
    • The Basics (Overview)
    • Webhook Events and Notifications
    • Messaging API
      • Messaging Health Status
      • Step to Step to move to Cloud API
        • [will be deprecated] WABA Integration (On-Premise)
    • Migrating Phone Numbers
      • Migrate number from Meta or alternate BSP to 360dialog Cloud API
      • Migrate a phone number to a new WABA
      • Migrate to alternate BSP
  • waba management
    • Creating new WABA
      • Using a new phone number
      • WhatsApp Coexistence
        • Coexistence Onboarding
        • Coexistence Webhooks
    • Display Name Guidelines
    • Meta Business Verification
    • Official Business Account (OBA) or blue badge
    • WABA Profile Info
    • Capacity, Quality Rating, and Messaging Limits
      • Accelerated Onboarding
    • Hosting type Change
  • waba Messaging
    • Sandbox (Test API Key)
    • Receiving messages
    • Before sending a message
      • Checklist for Message Broadcasts and Campaigns
    • Conversations
    • Messaging
    • Conversational Components
    • Media Messages
      • Upload, retrieve or delete media
    • Template Messages
      • Template Elements
      • Sending Template Messages
      • Authentication Templates
        • Zero-Tap Authentication Templates
        • One-Tap Autofill Authentication Templates
        • Copy Code Authentication Templates
      • Catalog Templates
      • Product Card Carousel Templates
      • Single-Product Message Templates
      • Coupon Code Templates
      • Limited-Time Offer Templates
      • Multi-Product Templates
    • Interactive Messages
      • Single and Multi Product Messages
      • Location Request Message
    • Flows
    • Products & Catalogs
    • Contacts and Location Messages
    • Payments (India Only)
      • Receive WhatsApp Payments via Payments Gateway
      • Receive WhatsApp Payments via Payment Links
      • Order Details Template Message
    • Payments (Singapore only)
      • Receive WhatsApp Payments via Stripe
  • Partners
    • Partner Documentation
  • Support
    • Help and Support
      • Opening Hours & Response Time
      • Status Pages
      • Meta Support
      • Common Issues
      • How to contact Support
    • Error Messages
    • Imprint & Data Privacy
    • FAQ
Powered by GitBook
On this page
  • Share Off-Thread event actions
  • Share an Off-Thread event
  • Attribute Off-Thread events to previous conversations

Was this helpful?

  1. [beta] New 360dialog platform
  2. Insights

Off-Thread events

The UI for Insights has been updated. We are revising this page to best meet your needs.

Companies redirect WhatsApp leads to their website for actions such as to:

  • Create an account

  • Book an appointment

  • Purchase an item

These actions take place outside of the WhatsApp conversation, but because of it.

360dialog is able to receive Off-Thread event actions from companies, and attribute these to the conversation that ignited it – and hence to it's source.

Share Off-Thread event actions

Companies only need to call the following endpoint and 360dialog will attribute the reported Off-Thread event to the last conversation the lead engaged with.

Off-Thread events carrying revenue will help companies in knowing the ROAS of their WhatsApp channel overall, as well as per individual source.

Share an Off-Thread event

POST https://api.signals.360dialog.io/clients/{client_id}/external-events

Path Parameters

Name
Type
Description

client_id*

string

ID of the client/company in 360dialog

Request Body

Name
Type
Description

api_key*

string

Contact our support team and we can generate an API for you.

lead_phone*

string

Whatsapp number of the lead

action*

string

Action the lead performed

revenue.currency

string

Currency of the purchase Default: USD

revenue.amount

number

Amount paid for the items sold

app_id

string

Use it in case your need to force the event to be attributed to a conversation from a specific app (business number)

previous_external_event_id

string

ID of a previous Off-Thread event that was attributed to the same conversation you want to target this new one external event to

Example request body

// A lead books an appointment to speak with an agent
{
  "external_event": {
    "action": "Booked an appointment",
    "lead_phone": lead_phone,
  },
  "api_key": "2089ec88-42d3-5df9-9fc1-747dbf2a6d08"
}

// A lead purchases an item from the ecommerce:
{
  "external_event": {
    "action": "Purchased an item",
    "lead_phone": lead_phone,
    "revenue": {
      "amount": 10,
      "currency": "EUR"
    }
  },
  "api_key": "2089ec88-42d3-5df9-9fc1-747dbf2a6d08"
}

Example response

On success, the share an Off-Thread event endpoint will return the ID of the newly created Off-Thread event (external_event_id).

// Status: 201
{
  "success": true,
  "external_event_id": "external_event_1234"
}

Companies can store these IDs and use them in to report future external events and attribute these to previous conversation.

Attribute Off-Thread events to previous conversations

There are business use cases where a conversion event occurs due to an older WhatsApp conversation.

For example, companies use WhatsApp to book future appointments. Between the conversation where an appointment was booked and the appointment itself there could be difference in days, as well as other conversations in between.

For 360dialog to accurately attribute external events to previous conversations companies can share external events with the previous_external_event_id and 360dialog will attribute the external event to the same conversation as the previous one.

Example request body

// A lead showed up at an appointment, that was booked last week.
{
  "external_event": {
    "action": "Showed up at the appointment",
    "previous_external_event_id": "external_event_1234",
  },
  "api_key": "2089ec88-42d3-5df9-9fc1-747dbf2a6d08"
}

Last updated 6 months ago

Was this helpful?