directly.webhook

Element details

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

Fields

fielddescription               requiredsignaturedefaulttype
parent_entry_refnullEntryRef
trace_id"-"str
sensitivefalsebool
internalfalsebool
user_idstr
thread_idstr
integration_idstr
context{}
dict
payloadDirectlyWebhookPayload

Usage reference

Data

{
    "type": "meya.directly.event.webhook", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": false, 
        "internal": 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"
            }
        }
    }
}