GET /applications/{appId}/messages
List messages for an application with optional event type filter and cursor pagination.

Authentication

API Key (header: X-API-Key) API Key (cookie: better-auth.session_token)

Path Parameters

appId string required path
Application ID
Example: "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"

Query Parameters

cursor string optional query
Pagination cursor
limit string optional query
Max results (default 50, max 100)
event_type string optional query
Filter by event type

Responses

200 Paginated list of messages
application/json
messages object | null[] REQUIRED
Array of:
id string REQUIRED
org_id string REQUIRED
env_id string REQUIRED
application_id string REQUIRED
event_type string REQUIRED
payload string REQUIRED
status string REQUIRED
created_at string REQUIRED
updated_at string REQUIRED
cursor string | null REQUIRED
401 Unauthorized
curl -X GET 'https://hookstream.io/v1/applications/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/messages' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://hookstream.io/v1/applications/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/messages', {
  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/applications/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/messages', headers=headers)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://hookstream.io/v1/applications/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/messages", 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
{
  "messages": [
    {
      "id": "<string>",
      "org_id": "<string>",
      "env_id": "<string>",
      "application_id": "<string>",
      "event_type": "<string>",
      "payload": "<string>",
      "status": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "cursor": "<string>"
}
GET /applications/{appId}/messages
Ask a question... ⌘I