Endpoints
Send event
Using this endpoint you can send events for event-based missions.
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6d
2024-02-22 10:00:00
POST /api/v1/event HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"id": "text",
"userId": "text",
"eventId": "text",
"eventTagIds": [
"text"
],
"value": 1,
"createdAt": "2024-02-22 10:00:00"
}
No content
Get Widget URL (use it for the WebView integration)
The resulting URL will already have the required token. Expiration time = 1 day.
Get widget url for operator's user
Operator user id, external one
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c
GET /api/v1/integration/user/{operatorUserId}/widget HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Accept: */*
{
"url": "text"
}
Get JWT (use it for the SDK integration)
Using for mobile SDK (Android).
Get JWT for operator's user
Operator user id, external one
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c
GET /api/v1/integration/user/{operatorUserId}/token HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Accept: */*
{
"token": "eyJhbGciOiJIUzUxMiJ9.eyJpZF91c2VyIjozLCJyb2xlIjoiUk9MRV9PUEVSQVRPUl9BRE1JTiIsImV4cCI6MTYxOTY5NzA2OX0.XGO-uRHzGmL7EPr18IYnz6XBhS2GJJiFBsaCO9KPt61CMpCjjz5Qy-oBsNJJQtjMmJUnOmVSJMYe0RBaVPjKQg"
}
Send revenue
Sending revenue which used for Hold to earn calculation.
Send revenue received by Application. It should be in USDT.
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c
2024-02-22 10:00:00
POST /api/v1/revenue HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"requestId": "text",
"revenue": 1,
"date": "2024-02-22 10:00:00"
}
No content
Assign one or multiple segments to user
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6d
POST /api/v1/segment/users/ HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 60
[
{
"userId": "text",
"segments": [
{
"id": "text",
"name": "text"
}
]
}
]
No content
Remove one or multiple segments from user
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6d
DELETE /api/v1/segment/users HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 39
[
{
"userId": "text",
"segments": [
"text"
]
}
]
No content
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c
GET /api/v1/integration/user/{operatorUserId}/balance HTTP/1.1
Host: integration.enable3.io
X-API-KEY: null
Accept: */*
{
"balance": 1,
"userExists": true
}
Last updated