Skip to main content
GET
/
incoming-webhooks
/
{id}
Get incoming webhook by ID
curl --request GET \
  --url https://api.onset.io/v1/incoming-webhooks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "iw_01hf8k4x7n9m2p3q5r8s9t0v1w",
  "name": "New release trigger",
  "type": "RELEASE",
  "isEnabled": true,
  "url": "https://hooks.onset.io/v1/XXXX/XXX",
  "lastTriggeredAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Incoming webhook ID

Response

Incoming webhook retrieved successfully

id
string

Unique incoming webhook identifier

Example:

"iw_01hf8k4x7n9m2p3q5r8s9t0v1w"

name
string

Incoming webhook name

Example:

"New release trigger"

type
enum<string>

Incoming webhook type

Available options:
RELEASE,
MILESTONE,
SUBSCRIBER
Example:

"RELEASE"

isEnabled
boolean

Indicates whether the incoming webhook is enabled

Example:

true

url
string<uri>

Incoming webhook URL endpoint

Example:

"https://hooks.onset.io/v1/XXXX/XXX"

lastTriggeredAt
string<date-time> | null

Timestamp of the last successful trigger

createdAt
string<date-time>

Creation timestamp

updatedAt
string<date-time>

Last update timestamp

I