Endpoints
Using this endpoint you can send events for event-based missions. Requires X-API-KEY header to resolve operator identity.
API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6c2024-02-22 10:00:00OK
No content
Bad Request
Unauthorized (missing or invalid API key)
User not found or unauthorized
POST /api/v1/event HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"id": "text",
"userId": "text",
"eventId": "text",
"eventTags": [
"text"
],
"value": 1,
"createdAt": "2024-02-22 10:00:00"
}No content
Get a widget URL for an operator user. Creates a new user if not found. The optional referralCode is applied only when this request creates the user and is ignored for existing users. Blank, invalid or unavailable referral codes do not block widget access. Requires X-API-KEY header to resolve operator identity.
The user ID within the operator context
player-123Language for widget localization. Updates the user's language and must be one of the operator's configured languages.
enWidget section to open on initialization (e.g. mission or store)
missionEntity identifier within the specified widget section
mission-123Referral code of a user of the same operator. Applied only to newly created users. Ignored for existing users, blank or invalid codes, or when the referral program is disabled.
ABCDEFAPI key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6cSuccessfully returned widget URL
https://widget.enable3.io?token=eyJhbGciOiJIUzI1NiJ9.example.signatureBad Request (e.g. language is not configured for the operator)
Unauthorized (missing or invalid API key)
Forbidden (operator status does not allow access or widget is disabled)
GET /api/v1/integration/user/{operatorUserId}/widget HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Accept: */*
{
"url": "https://widget.enable3.io?token=eyJhbGciOiJIUzI1NiJ9.example.signature"
}Create a new operator user and apply a referral code in the same transaction. If the user already exists or the code cannot be applied, the request fails and no user is created. Requires X-API-KEY header to resolve operator identity.
The user ID within the operator context
player-123API key assigned to user's operator
d08c7c3e-ab43-49c2-8a36-ffb6d1ef8c6cReferral code to apply during user creation. Must not be blank.
ABCDEFPattern: \SUser created and referral code applied (empty response body)
No content
Bad Request (missing or blank referalCode, or invalid referral relationship)
Unauthorized (missing or invalid API key)
Forbidden (operator status does not allow access)
Referral code not found for this operator or referral program disabled
Conflict (user already exists or referral code cannot be applied to the user)
POST /api/v1/integration/sign-referall/{operatorUserId} HTTP/1.1
Host: integration.enable3.io
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"referalCode": "ABCDEF"
}No content
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-ffb6d1ef8c6cOK
Token
eyJhbGciOiJIUzUxMiJ9.eyJpZF91c2VyIjozLCJyb2xlIjoiUk9MRV9PUEVSQVRPUl9BRE1JTiIsImV4cCI6MTYxOTY5NzA2OX0.XGO-uRHzGmL7EPr18IYnz6XBhS2GJJiFBsaCO9KPt61CMpCjjz5Qy-oBsNJJQtjMmJUnOmVSJMYe0RBaVPjKQgBad 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-ffb6d1ef8c6c2024-02-22 10:00:00OK
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-ffb6d1ef8c6dOK
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-ffb6d1ef8c6dOK
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
150.00trueUnauthorized (missing or invalid API key)
User not found or unauthorized
GET /api/v1/integration/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-ffb6d1ef8c6cCreated
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