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
OK
No content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
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
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
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
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
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
OK
No content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
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
OK
No content
Bad Request
Unauthorized
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
OK
No content
Bad Request
Unauthorized
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
Get current token balance by operatorUserId
. Requires X-API-KEY
header to resolve operatorId
.
The user ID within the operator context
API key used to resolve the operatorId (injected internally)
Successfully returned user balance
Unauthorized (missing or invalid API key)
User not found or unauthorized
GET /user/{operatorUserId}/balance HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Accept: */*
{
"balance": "150.00",
"userExists": true
}
Add one or more websites to an operator's integration configuration. Requires X-API-KEY
header to resolve operator identity.
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c
Created
No content
Bad Request
Unauthorized (missing or invalid API key)
User not found or unauthorized
Conflict (e.g. duplicate entry)
POST /api/v1/integration/websites HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"websites": [
"text"
]
}
No content
Last updated