Webhooks

get

/webhooks

Get the supported webhooks

Accepted Query Arguments

integer page: The desired page
integer pageSize: The desired page size

get

/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

  1. team_management
Accepted Query Arguments

integer page: The desired page
integer pageSize: The desired page size
Accepted Restful Arguments

teamid: The id of the team to act on

post

/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

  1. team_management
Accepted Body Arguments

{
// a short description
title: string,
// the target url for the trigger
url: boolean,
// the type
type: integer,
}
Accepted Restful Arguments

teamid: The id of the team to act on

delete

/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

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on
hookid: undocumented

post

/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

  1. team_management
Accepted Body Arguments

{
// a short description
title: string,
// the target url for the trigger
url: boolean,
// the type
type: integer,
}
Accepted Restful Arguments

teamid: The id of the team to act on
hookid: undocumented

Did you find what you were looking for? Thank you! There was a problem submitting your feedback. Please try again later.