Enspace
  1. Integrations
Enspace
  • Introduction
  • Authentication
  • Concepts
  • First Steps
  • Workspaces
    • Types
      • Fields
        • List Fields
        • Create Field
        • Get Field
        • Field Updated
        • Delete Field
      • Items
        • List Items
        • Create Item
        • Count Items
        • Get Item
        • Update Item
        • Delete item
      • Flows
        • Stages
          • Tasks
            • List Tasks
            • Get specific Task
            • New Task
          • List Stages
          • Get specific Stage
        • List Flows
        • Get specific Flow
      • Forms
        • List Form
        • Get specific Form
        • List Form Create
      • List Types
      • Count Types
      • Get specific Type
      • Create Type
      • Update Type
      • Delete Type
    • Members
      • List Members
      • Count Members
      • Get Member
      • New Member
      • Update Member
      • Remove Member
    • Roles
      • List roles
      • Create role
      • Count roles
      • Get specific role
      • Update role
      • Delete role
      • List Role Permissions
      • Add Permission to Role
      • Remove Role Permission
    • Member Groups
      • List groups
      • New group
      • Get group
      • Update group
      • Delete group
      • Add Users
      • Remove Users
    • Quick Tasks
      • List Quick Tasks
      • Count Quick Tasks
      • Get Quick Task
      • Delete Quick Task
      • Update Quick Task
      • New Quick Task
    • Integrations
      • CertiSign
      • Docusign
      • D4Sign
      • Clicksign
      • Adobe Sign
      • Whatsapp Twilio
      • SendGrid
      • OpenAi
      • Integration
        GET
      • New Integration
        POST
    • Schedule Tasks
      • List Schedule Tasks
      • Get specify Schedule Task
    • List Workspaces
      GET
    • Workspace Context
      GET
    • New Workspace
      POST
    • Leave the workspace
      POST
    • Workspace Statistics
      GET
    • Workspace Deletion Preview
      GET
    • Delete Workspace
      DELETE
  • User
    • Request Log
    • List API Keys
  • Schemas
    • Schemas
      • Members
        • MemberUpdate
        • MemberCreate
        • Member
      • Roles
        • Role
        • RoleCreate
        • RoleUpdate
      • MemberGroups
        • MemberGroup
        • MemberGroupCreate
        • MemberGroupUpdate
      • Types
        • Type
        • TypeInput
        • TypeDetail
      • Items
        • Item
        • ItemInput
      • Workspace
        • WorkspaceContext
        • WorkspaceStats
        • Workspace
        • WorkspaceCreate
        • WorkspaceUpdate
      • Tasks
        • Tasks
      • Flow
        • Flow
      • Stages
        • Stage
      • Forms
        • Forms
      • Integrations
        • Integrations
      • User
      • RequestLog
      • UserApiKey
      • SuccessResponse
      • ErrorResponse
      • Field
      • FieldInput
      • Permission
      • PermissionInput
      • Error
    • Response
      • BadRequest
      • Unauthorized
      • Forbidden
      • NotFound
      • ServerError
  1. Integrations

Whatsapp Twilio

Create WhatsApp Twilio Integration#

This request creates a new integration configuration with WhatsApp Twilio.
Twilio provides a programmable messaging API that enables businesses to send and receive WhatsApp messages at scale.
By configuring this integration, the system will be able to communicate with users through WhatsApp, manage conversations, and automatically close inactive chats according to the defined rules.

Endpoint: POST/integrations#


Request Body#

FieldTypeDescription
integrationintegerUnique identifier of the integration type to be configured.
dataobjectConfiguration object containing service-specific parameters.
data.changeKeysbooleanIndicates if the system should automatically map field keys during data exchange.
data.phone_numberstringThe WhatsApp phone number associated with the Twilio account that will send and receive messages.
data.autoclose_hoursintegerNumber of hours of inactivity after which the conversation will be automatically closed.
data.autoclose_minutesintegerAdditional minutes of inactivity before the conversation is automatically closed.
data.send_autoclose_message_minutesintegerNumber of minutes before the conversation closes when a warning message will be sent to the user.
data.autoclose_messagestringMessage sent to notify the user that the conversation will soon be automatically closed due to inactivity.
data.post_autoclose_messagestringMessage sent after the conversation has been automatically closed.

Request Example#

{
  "integration": 6,
  "data": {
    "changeKeys": false,
    "phone_number": "21 99999-9999",
    "autoclose_hours": 23,
    "autoclose_minutes": 1,
    "send_autoclose_message_minutes": 10,
    "autoclose_message": "The conversation will be automatically closed due to inactivity.",
    "post_autoclose_message": "This conversation has been closed. Please start a new message if you need further assistance."
  }
}

Response Example#

{
    "id": 101,
    "data": {
        "changeKeys": false,
        "phone_number": "21 99999-9999",
        "autoclose_hours": 23,
        "autoclose_message": "The conversation will be automatically closed due to inactivity.",
        "autoclose_minutes": 1,
        "post_autoclose_message": "This conversation has been closed. Please start a new message if you need further assistance.",
        "send_autoclose_message_minutes": 10
    },
    "integration": {
        "id": 6,
        "name": "Whatsapp Twilio",
        "description": "integrations.whatsapp_twilio.description",
        "category": "integrations.whatsapp_twilio.category",
        "slug": "whatsapp_twilio",
        "created_at": "2025-06-17T15:40:10.459Z",
        "updated_at": "2025-06-17T15:40:10.459Z",
        "media": []
    },
    "status": "active",
    "created_at": "2026-03-12T20:46:40.548Z",
    "updated_at": "2026-03-12T20:46:40.558Z"
}

Response Fields#

FieldTypeDescription
idintegerUnique identifier of the created integration configuration.
integrationintegerIdentifier of the integration type configured.
statusstringCurrent operational status of the integration.
• active: Enabled and operational.
• inactive: Currently disabled.
dataobjectAn object containing the applied configuration parameters.
created_atdatetimeISO 8601 timestamp indicating when the integration was created.
updated_atdatetimeISO 8601 timestamp indicating the last update to the configuration.
Security Notice: Ensure that the configured phone number and Twilio credentials are properly secured and that webhook endpoints only accept requests from trusted Twilio services.
Previous
Adobe Sign
Next
SendGrid
Built with