Remote events,
made simple.
Eventrigger lets your application fire a remote event while a local listener waits for that event and performs the action you define.
How it works
Eventrigger uses a simple polling model. Your local machine does not need to expose a port to the internet. Instead, it periodically makes an outbound request to Eventrigger.
Triggers
A trigger is a persistent event destination. Each trigger has a unique ID that your listener uses when polling for events.
triggerId: "7f3c92ab..."
name: "Minecraft Server"Fire API
The Fire API allows another application to remotely fire an Eventrigger trigger. Requests are authenticated using an API key and require the trigger ID you want to fire.
Endpoint
POST /api/fire/YOUR_TRIGGER_IDAuthentication
Include your Eventrigger API key in the Authorization header using the Bearer authentication scheme.
Authorization: Bearer YOUR_API_KEY
Example request
You can fire a trigger using any HTTP client. For example, with cURL:
curl -X POST \ -H "Authorization: Bearer YOUR_API_KEY" \ https://evtrg.com/api/fire/YOUR_TRIGGER_ID
Successful response
When the trigger is successfully fired, the API returns HTTP201and the ID of the newly created event.
{
"ok": true,
"eventId": "evt_123456789"
}Rate limit
Each trigger can only be fired once every 3 seconds. This limit applies to both dashboard requests and API-key requests.
{
"error": "Rate limit exceeded",
"retryAfter": 2
}Error responses
401404429Listener API
The Listener API allows a local application to poll Eventrigger for events. Your application periodically sends a request using the trigger ID and your API key.
Endpoint
GET /api/listener/YOUR_TRIGGER_IDAuthentication
The Listener API requires an Eventrigger API key. Include the key in the Authorization header using Bearer authentication.
Authorization: Bearer YOUR_API_KEY
Example request
A listener can poll the endpoint using any HTTP client. For example, using cURL:
curl -H "Authorization: Bearer YOUR_API_KEY" \ https://evtrg.com/api/listener/YOUR_TRIGGER_ID
Event available
When an event is waiting for the trigger, the API returns HTTP200with the oldest pending event.
{
"eventId": "evt_123456789",
"triggerId": "7f3c92ab",
"type": "trigger",
"payload": {},
"createdAt": "2026-08-12T19:00:00.000Z"
}Event consumption
Events are consumed when they are retrieved. If multiple events are waiting for the same trigger, the oldest event is returned, and all pending events for that trigger are then removed.
Because of this behavior, your listener should process the returned event before polling again.
Polling interval
The Listener API allows one poll every 5 seconds per trigger. Polling more frequently will result in a429response.
{
"error": "Rate limit exceeded",
"retryAfter": 4
}Responses
Eventrigger uses standard HTTP status codes to indicate whether an API request was successful, rejected, or needs to be retried.
200201204401404429204 response
A204response has no response body. Your listener should treat it as "nothing to do" and continue polling after the appropriate interval.
429 response
When a request is rate limited, Eventrigger returns the number of seconds to wait inretryAfterand also includes the same value in theRetry-AfterHTTP header.
{
"error": "Rate limit exceeded",
"retryAfter": 4
}