Entity Alert
Retrieve alerts for a specific entity.
The API key for authentication
testThe Id of the user performing the request.
dummy-useridThe token for user authentication.
dummy-tokenSuccessful response
Client error
Server error
GET /api/entities/{entityId}/alerts HTTP/1.1
Host: https:/.questprotocol.xyz
apikey: test
userid: dummy-userid
token: dummy-token
Accept: */*
{
"success": true,
"alerts": [
{
"alertId": "alert-id",
"entityId": "e-example-id",
"name": "text",
"alertType": "ALERT_TYPE_QUEST_START",
"destination": "SlACK",
"webhookURL": "text",
"isEnabled": true,
"createdAt": "2025-11-06T13:35:54.587Z"
}
]
}Add an alert for a specific entity.
The ID of the entity.
The API key for authentication
testThe token for user authentication.
dummy-tokenThe Id of the user performing the request.
dummy-useridThe type of alert.
The destination for the alert (SLACK, CUSTOM_BACKEND, EMAIL, UNKNOWN).
The webhook URL for the alert.
Successful operation
Invalid request
Server error
POST /api/entities/{entityId}/alerts HTTP/1.1
Host: https:/.questprotocol.xyz
apikey: test
token: dummy-token
userid: dummy-userid
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"alertType": "ALERT_TYPE_QUEST_START",
"destination": "SLACK",
"webhookURL": "https://example.com/slack-webhook"
}{
"success": true,
"alertId": "text"
}Update an existing entity alert.
The API key for authentication
testThe token for user authentication.
dummy-tokenThe Id of the user performing the request.
dummy-useridThe updated type of alert.
The updated destination for the alert (SLACK, CUSTOM_BACKEND, EMAIL, UNKNOWN).
The updated webhook URL for the alert.
Successful operation
Invalid request
Unauthorized error
POST /api/entities/{entityId}/alerts/{alertId}/update HTTP/1.1
Host: https:/.questprotocol.xyz
apikey: test
token: dummy-token
userid: dummy-userid
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"alertType": "ALERT_TYPE_QUEST_UPDATED",
"destination": "EMAIL",
"webhookURL": "https://example.com/email-webhook"
}{
"success": true
}Disable an existing entity alert.
The ID of the entity.
The ID of the entity alert.
The API key for authentication
testThe token for user authentication.
dummy-tokenThe Id of the user performing the request.
dummy-useridSuccessful operation
Invalid request
Server error
POST /api/entities/{entityId}/alerts/{alertId}/disable HTTP/1.1
Host: https:/.questprotocol.xyz
apikey: test
token: dummy-token
userid: dummy-userid
Accept: */*
{
"success": true
}Enable an existing entity alert.
The ID of the entity.
The ID of the entity alert.
The API key for authentication
testThe token for user authentication.
dummy-tokenThe Id of the user performing the request.
dummy-useridSuccessful operation
Invalid request
Server error
POST /api/entities/{entityId}/alerts/{alertId}/enable HTTP/1.1
Host: https:/.questprotocol.xyz
apikey: test
token: dummy-token
userid: dummy-userid
Accept: */*
{
"success": true
}Last updated