Docs

Developers / API Reference / Live / Webhook API

Webhook Requests

Webhook Requests endpoints of the Webhook API.

List Webhook Requests

GET

https://api.ospree.io/api/v2/webhooks/requests

List webhook requests for a business.

Parameters

Name

In

Type

Required

Description

event_type

query

string | null

No

—

event_name

query

string | null

No

—

page

query

integer

No

Default: 1.

size

query

integer

No

Default: 10.

Responses

Status

Description

200

Successful Response

JSON

{
"status": "success",
"data": {
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"webhook_url": "string",
"event_type": "string",
"event_name": "string",
"status": 0,
"request_payload": "string",
"error_details": "string",
"timestamp": "2026-01-01T00:00:00Z"
}
],
"total": 0,
"page": 0,
"size": 0,
"pages": 0
}
}

Retry Webhook Request

POST

https://api.ospree.io/api/v2/webhooks/requests/{request_id}

Get a specific webhook request by ID.

Parameters

Name

In

Type

Required

Description

request_id

path

string (uuid)

Yes

—

Responses

Status

Description

200

Successful Response

JSON

{
"status": "success",
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"webhook_url": "string",
"event_type": "string",
"event_name": "string",
"status": 0,
"request_payload": "string",
"error_details": "string",
"timestamp": "2026-01-01T00:00:00Z"
}
}