Skip to main content
GET
/
webhooks
/
{webhook_id}
Get a webhook by ID
curl --request GET \
  --url http://localhost:3001/portal-api/webhooks/{webhook_id}
{
  "ID": "<string>",
  "Name": "<string>",
  "URL": "<string>",
  "Method": "<string>",
  "Timeout": 123,
  "Headers": [
    {
      "ID": "<string>",
      "Name": "<string>",
      "Value": "<string>"
    }
  ],
  "Events": [
    "AccessRequestApproved"
  ],
  "CreatedAt": "2023-06-25 13:37",
  "UpdatedAt": "2023-06-25 13:37"
}

Documentation Index

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

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

Path Parameters

webhook_id
string
required

Response

Webhook retrieved successfully.

ID
string

Unique identifier for the webhook

Name
string

Name of the webhook

URL
string

URL to which the webhook will send requests

Method
string

HTTP method used by the webhook (e.g., GET, POST)

Timeout
integer

Timeout in seconds for the webhook request

Headers
object[]

List of custom headers included in the webhook request

Events
enum<string>[]

List of event types that trigger the webhook

Available options:
AccessRequestApproved,
AccessRequestRejected,
AccessRequestCreated,
OrganisationRequestCreated,
UserRegistered,
OrganisationRequestApproved,
OrganisationRequestRejected,
PasswordReset,
RegisterInvite,
UserAccountActivated,
UserAccountDeactivated,
ApplicationRegistered,
CredentialRegistered,
OrganisationRegistered
CreatedAt
string

Timestamp of when this webhook was created

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$
Example:

"2023-06-25 13:37"

UpdatedAt
string

Timestamp of when this webhook was updated the last time

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$
Example:

"2023-06-25 13:37"