elbwalker docs
Search…
Server
The elbwalker Ingest API can be used to send events to elbwalker server-side.
The URL of the endpoint is: https://moin.p.elbwalkerapis.com/lama
To send a server-side event make a POST request using the following body schema:
1
interface Ingest {
2
projectId: string;
3
entity: string;
4
action: string;
5
trigger?: string;
6
data?: { [key: string]: string | number };
7
timing?: number;
8
timestamp?: number;
9
meta?: {
10
anonymizedIp?: string;
11
doNotTrack?: boolean;
12
encoding?: string;
13
language?: string;
14
userAgent?: string;
15
};
16
source: { id: string; version: string; type: 'server' };
17
user?: {
18
hash: string;
19
device?: string;
20
id?: string;
21
};
22
}
Copied!
​

The following fields are required

Argument
Type
Description
projectId
string
Your individual projectId provided by elbwalker
entity
string
The event entity
action
string
The event action
source.id
string
The source from where you send the event
source.version
string
Version of source of origin
source.type
'server'
Static value
​

Example cURL Request

1
curl -X POST https://moin.p.elbwalkerapis.com/lama \
2
-H "Content-Type: application/json" -d '{
3
"projectId" : "W3BSH0P",
4
"entity": "product",
5
"action": "add",
6
"trigger": "click",
7
"data": {
8
"name": "Everyday Ruck Snack",
9
"price": 220
10
}
11
}'
Copied!

​

Copy link
Contents