---
updatedAt: 2025-06-05T01:06:54.000Z
agentTools:
  projectIndex: https://api.portal.xpertdoc.com/llms.txt
---

# Structure

The message sent needs to respect the following basic JSON structure:

```json
{ 
  "eventName" : "eventName",
  "message": "message" 
}
```

Basic variations will be required for events that demand multiple parameters

```json
// Example with FillForm
{ 
  "eventName": "FillForm",
  "message": { 
    "templateExecutionDataId": "00000000-0000-0000-0000-000000000000",
    "disableConfirmation": "true",
    "forgetDraftReference": "false" 
  } 
}
```

Responses will also follow the same structure

```json Response
// First response message
{
  "eventName":"PreviousDraftLoading",
  "message":{
    "templateExecutionDataId":"00000000-0000-0000-0000-000000000000"
  }
}

// Second message
{
  "eventName":"FieldValueChanged",
  "message":{
    "fieldName":"DevTextBox",
    "newValue":"Button"
  }
}

// Last response message
{
  "eventName":"PreviousDraftLoaded",
  "message":{
    "templateExecutionDataId":"00000000-0000-0000-0000-000000000000"
  }
}
```