Get event detail
Retrieve a single event by its ID, including the full payload and parsed headers.
GET
/events/{id}
Retrieve a single event by its ID, including the full payload and parsed headers.
Authentication
API Key (header: X-API-Key) API Key (cookie: better-auth.session_token)
Path Parameters
id
string
required
path
Resource ID (32-char hex)
Example:
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"Responses
200
Event details with full payload
application/jsonevent
object
REQUIRED
id
string
REQUIRED
source_id
string
REQUIRED
org_id
string
REQUIRED
env_id
string
REQUIRED
method
string
REQUIRED
headers
unknown | null
query_params
unknown | null
content_type
string | null
REQUIRED
source_ip
string | null
REQUIRED
payload_inline
string | null
REQUIRED
payload_ref
string | null
REQUIRED
payload_size
integer
REQUIRED
payload
unknown | null
verification_status
string
REQUIRED
verification_error
string | null
REQUIRED
dedup_status
string
REQUIRED
dedup_hash
string | null
REQUIRED
status
string
REQUIRED
received_at
string
REQUIRED
topic
string | null
REQUIRED
source_name
string | null
REQUIRED
source_slug
string | null
REQUIRED
401
Unauthorized
404
Event not found
curl -X GET 'https://hookstream.io/v1/events/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://hookstream.io/v1/events/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_API_TOKEN"
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
response = requests.get('https://hookstream.io/v1/events/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6', headers=headers)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://hookstream.io/v1/events/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6", nil)
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
result, _ := io.ReadAll(resp.Body)
fmt.Println(string(result))
}
200
Response
{
"event": {
"id": "<string>",
"source_id": "<string>",
"org_id": "<string>",
"env_id": "<string>",
"method": "<string>",
"headers": "<unknown>",
"query_params": "<unknown>",
"content_type": "<string>",
"source_ip": "<string>",
"payload_inline": "<string>",
"payload_ref": "<string>",
"payload_size": 123,
"payload": "<unknown>",
"verification_status": "<string>",
"verification_error": "<string>",
"dedup_status": "<string>",
"dedup_hash": "<string>",
"status": "<string>",
"received_at": "<string>",
"topic": "<string>",
"source_name": "<string>",
"source_slug": "<string>"
}
}
GET
/events/{id}