Custom events

Отправка кастомных событий

Send custom event

post
Body
all ofOptional
Responses
204
Event successfully submitted
post
POST /v1/events/custom HTTP/1.1
Host: api.taddy.pro
Content-Type: application/json
Accept: */*
Content-Length: 406

{
  "pubId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "user": {
    "id": 1234567890,
    "firstName": "John",
    "lastName": "Doe",
    "username": "john_doe",
    "premium": true,
    "language": "en",
    "country": "DE",
    "gender": "male",
    "ip": "65.82.123.21",
    "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0",
    "birthDate": "2001-01-01"
  },
  "origin": "server",
  "event": "custom1",
  "payload": {},
  "value": 4.99,
  "currency": "USD"
}

No content

Last updated