directly.webhook

type: meya.directly.event.webhook
class: DirectlyWebhookEvent
path: /meya/directly/event/webhook.py
signature: -

Fields

field

signature

required

type

default

description               

parent_entry_ref

EntryRef

null

trace_id

str

"-"

sensitive

bool

false

user_id

str

thread_id

str

integration_id

str

context

dict

{}

payload

DirectlyWebhookPayload

Examples

Data

{
    "type": "meya.directly.event.webhook", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": false, 
        "user_id": "STRING", 
        "thread_id": "STRING", 
        "integration_id": "STRING", 
        "context": {
            "STRING": "ANY"
        }, 
        "payload": {
            "event_type": "STRING", 
            "timestamp": 123, 
            "question": {
                "uuid": "STRING", 
                "timestamp": 123, 
                "subject": "STRING", 
                "text": "STRING"
            }, 
            "answer": {
                "uuid": "STRING", 
                "timestamp": 123, 
                "text": "STRING", 
                "author": {
                    "uuid": "STRING", 
                    "name": "STRING", 
                    "avatar": "STRING"
                }, 
                "expert": {
                    "uuid": "STRING", 
                    "name": "STRING", 
                    "avatar": "STRING"
                }, 
                "comment": {
                    "uuid": "STRING", 
                    "timestamp": 123, 
                    "text": "STRING", 
                    "is_auto_answer": false, 
                    "author": {
                        "uuid": "STRING", 
                        "name": "STRING", 
                        "avatar": "STRING", 
                        "is_poster": false, 
                        "is_chatbot": false
                    }
                }
            }, 
            "message": {
                "uuid": "STRING", 
                "text": "STRING"
            }, 
            "extra": {
                "foo": "bar"
            }
        }
    }
}