Also can we can we send click event without doc_id...
# community-help
s
Also can we can we send click event without doc_id
Copy code
curl "<http://localhost:8108/analytics/events>" -X POST \
     -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" \
     -d '{
            "type": "click",
            "name": "products_click_event",
            "data": {
                  "q": "How to take screenshot",
                  "user_id": "fake_id"
            }
        }'
k
No.
doc_id
and
user_id
are mandatory fields for any analytics event.