Webhooks

Returns the list of webhooks.

get

The webhooks are sorted by creation date, with the most recent webhook appearing first.

Authorizations
Responses
200
A JSON array of webhooks.
application/json
get
GET /api/manager/v1/webhooks HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Accept: */*
[
  {
    "id": "9c0306d5-e18e-4689-93da-997e2cdc16e7",
    "url": "https://example.com",
    "createdAt": "2024-12-03T10:07:54.940Z",
    "updatedAt": "2024-12-03T10:07:54.940Z"
  }
]

Creates a webhook.

post

Creates a webhook with the specified URL. A webhook secret is generated and returned in the response. It is used to sign the webhook payloads.

Authorizations
Body
urlstring · uriRequired

The URL of the webhook.

Responses
201
The webhook has been created.
application/json
post
POST /api/manager/v1/webhooks HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "url": "https://example.com"
}
{
  "id": "9c0306d5-e18e-4689-93da-997e2cdc16e7",
  "url": "https://example.com",
  "secret": "a1b2c3d4e5",
  "createdAt": "2024-12-03T10:07:54.940Z",
  "updatedAt": "2024-12-03T10:07:54.940Z"
}

Returns a webhook by ID.

get

Returns a webhook by its unique identifier.

Authorizations
Path parameters
webhookIdstring · uuidRequired

The unique identifier of the webhook.

Responses
200
A webhook.
application/json
get
GET /api/manager/v1/webhooks/{webhookId} HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Accept: */*
{
  "id": "9c0306d5-e18e-4689-93da-997e2cdc16e7",
  "url": "https://example.com",
  "createdAt": "2024-12-03T10:07:54.940Z",
  "updatedAt": "2024-12-03T10:07:54.940Z"
}

Deletes a webhook by ID.

delete

Deletes a webhook by its unique identifier.

Authorizations
Path parameters
webhookIdstring · uuidRequired

The unique identifier of the webhook.

Responses
204
The webhook has been deleted.
delete
DELETE /api/manager/v1/webhooks/{webhookId} HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Accept: */*

No content