Skip to main content
GET
/
transactions
/
webhooks
List outgoing webhook events
curl --request GET \
  --url https://api.breet.io/v1/transactions/webhooks \
  --header 'X-Breet-Env: <api-key>' \
  --header 'x-app-id: <api-key>' \
  --header 'x-app-secret: <api-key>'
{ "message": "", "success": true, "data": [ { "id": "67a1b2c3d4e5f67890123456", "integration": "692d994b7ca6e4da422363fb", "reference": "692f91aa729255932afe9078", "eventType": "trade.completed", "payload": { "event": "trade.completed", "id": "692f91aa729255932afe9078", "status": "completed" }, "url": "https://partner.example.com/webhooks/breet", "status": "delivered", "attemptsCount": 1, "attempts": [ { "attemptedAt": "2025-12-03T01:26:04.066Z", "responseStatus": 200, "responseBody": "{\"ok\":true}" } ], "deliveredAt": "2025-12-03T01:26:04.066Z", "lastAttemptAt": "2025-12-03T01:26:04.066Z", "expireAt": "2025-12-10T01:26:04.066Z", "createdAt": "2025-12-03T01:26:04.066Z", "updatedAt": "2025-12-03T01:26:04.066Z" } ], "meta": { "pages": 1, "prevPage": null, "nextPage": null, "page": 1, "totalDocs": 1, "hasPrevPage": false, "hasNextPage": false }, "summary": {}, "stats": {} }

Documentation Index

Fetch the complete documentation index at: https://docs.breet.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Query Parameters

page
integer

Page number (1-indexed).

Required range: x >= 1
size
integer

Number of items per page (max 200 on the server).

Required range: x >= 1
sort
string

Optional sort expression (string).

filter
string

Optional filter expression (string).

exports
boolean

Optional export flag.

Optional search string.

startDate
string<date-time>

If used with endDate, filters by date range (ISO 8601).

endDate
string<date-time>

If used with startDate, filters by date range (ISO 8601).

reference
string

Optional. The trade or withdrawal document ID (MongoDB ObjectId string) used as the webhook reference.

Required string length: 1 - 32
status
enum<string>

Optional. Filter by overall delivery status of the stored webhook event. Stored delivery outcome for the webhook event document.

Available options:
delivered,
failed
eventName
enum<string>

Optional. Filter by webhook event type (matches eventType in the stored document). Webhook event name (matches event / eventType for trade and withdrawal notifications).

Available options:
trade.pending,
trade.completed,
trade.flagged,
withdrawal.pending,
withdrawal.processing,
withdrawal.rejected,
withdrawal.completed,
withdrawal.reversed

Response

Paginated list of webhook event documents

success
boolean
Example:

true

data
object[]
meta
object

Pagination metadata returned by list endpoints.