Luden
GuinsooLabGitHub
  • Welcome to Luden!
  • Quickstart
    • Deploying with Docker
    • Building from Source
    • Scaling Luden Server
  • Configuration
    • Configuration
    • Authorization
    • Destinations Conf
      • Snowflake
      • AWS S3
      • AWS RedShift
      • Postgres
      • Google BigQuery
      • MySQL
      • Clickhouse
      • Guinsoo
      • WebHook
    • Sources Conf
      • Synchronization Scheduling
      • Airbyte Based Sources
    • Sources Catelog
  • Features
    • JavaScript Transform
    • Destination Tags
    • Data Warehouses
    • Match Mode
    • Stream Mode
    • DBT Cloud Integration
    • Event Cache
    • Geo Data Resolution
    • Typecast
    • Admin Endpoint
    • Application Metrics
  • Sending Data
    • JS SDK
    • Node.js
    • Event API
    • Bulk API
    • Segment API
  • Extending
    • Destination Extensions
    • Source Extensions
    • API Specs
    • Luden Architecture
  • Appendix
    • Contribute
    • FAQs
Powered by GitBook
On this page
  1. Sending Data

Event API

Lude has API for direct event collection. You can use it for sending events directly from apps or backends.

Authorization server secret token might be provided either as query parameter or HTTP header

POST: /api/v1/s2s/event?token=$server_API_key_secret

Parameters:

  • X-Auth-Token: required

  • token: required

Payload:

{
  "event_id": "x96f60pzk1",
  "event_data": {
    ...
  },
  "page_ctx": {
    "page_title": "Luden Demo",
    "referer": "",
    "url": "http://track-demo.ksense"
  },
  "device_ctx": {
    "ip": "10.10.10.10",
    "user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36",
  },
  "user": {
    ...
  }
}

Response:

{"status": "ok"}
PreviousNode.jsNextBulk API

Last updated 2 years ago