Messaging

WhatsApp (Twilio)

Learn how the integration between ENSPACE and WhatsApp (Twilio) works.
published

WhatsApp Integration via Twilio

The ENSPACE integration with WhatsApp is done through the Twilio platform. Below are the steps to properly configure it:

ℹ️ Important: The WhatsApp service in ENSPACE is passive, meaning it only receives and replies to messages sent to the integrated number. It is not possible to proactively start conversations via the API.

1. Obtain Credentials from Twilio

Access the Twilio dashboard: https://www.twilio.com/

You will need the following information:

  • Account SID
  • Auth Token
  • WhatsApp-enabled phone number registered in Twilio

These details are available on the main dashboard after login.

2. Register the Integration in ENSPACE

  1. In ENSPACE, go to the settings menu.
  2. Access the “Integrations” tab.
  3. Select the “Twilio” integration.
  4. Enter the following data:
    • Account SID
    • Auth Token
    • WhatsApp Number (the same registered in Twilio)

  1. Click “Save.”
  2. Go to the menu builder.
  3. Add a screen called "Native Support Center".

3. Configure Webhook in Twilio

To ensure WhatsApp messages received on your number appear in the ENSPACE Support Center:

  1. In ENSPACE, go to the integrations tab.
  2. Find the Twilio integration and click it. Copy the “Webhook URL” and “Status Callback URL” fields.

  1. In the Twilio dashboard, go to the Messaging section.
  2. Click on the phone number used.
  3. Paste the copied Webhook URL from ENSPACE into the “Webhook URL for incoming messages” field.
  4. Also paste the Status Callback URL into the corresponding field.

  1. Save the changes.

4. Using WhatsApp within ENSPACE

After configuration, you will be able to:

  • View and respond to WhatsApp messages inside the Support Center.
  • Assign messages to different agents.

⚠️ Remember that your Twilio account must be active and the WhatsApp number properly approved for sending messages via API.