Webhooks
/webhooks
Get the supported webhooks
integer page: The desired page
integer pageSize: The desired page size
/team/:teamid/webhooks
(authenticated)
Get a list of all webhooks for a given team
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
integer page: The desired page
integer pageSize: The desired page size
teamid: The id of the team to act on
/team/:teamid/webhooks
(authenticated)
Add a new webhook for a given team
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
{
// a short description
title: string,
// the target url for the trigger
url: boolean,
// the type
type: integer,
}
teamid: The id of the team to act on
/team/:teamid/webhook/:hookid
(authenticated)
Delete a webhook
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
teamid: The id of the team to act on
hookid: undocumented
/team/:teamid/webhook/:hookid
(authenticated)
Update a webhook
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
{
// a short description
title: string,
// the target url for the trigger
url: boolean,
// the type
type: integer,
}
teamid: The id of the team to act on
hookid: undocumented