webhooks

List outgoing webhooks

Get a page of a list of outgoing webhooks. Optionally filter for a specific team or channel using query parameters.

Permissions

manage_webhooks for the system or manage_webhooks for the specific team/channel.

get/api/v4/hooks/outgoing

Query parameters

pageinteger

The page to select.

per_pageinteger

The number of hooks per page.

team_idstring

The ID of the team to get hooks for.

channel_idstring

The ID of the channel to get hooks for.

Response

Outgoing webhooks retrieval successful

idstring

The unique identifier for this outgoing webhook

create_atinteger

The time in milliseconds a outgoing webhook was created

update_atinteger

The time in milliseconds a outgoing webhook was last updated

delete_atinteger

The time in milliseconds a outgoing webhook was deleted

creator_idstring

The Id of the user who created the webhook

team_idstring

The ID of the team that the webhook watchs

channel_idstring

The ID of a public channel that the webhook watchs

descriptionstring

The description for this outgoing webhook

display_namestring

The display name for this outgoing webhook

trigger_wordsstring[]

List of words for the webhook to trigger on

trigger_wheninteger

When to trigger the webhook, 0 when a trigger word is present at all and 1 if the message starts with a trigger word

callback_urlsstring[]

The URLs to POST the payloads to when the webhook is triggered

content_typestring

The format to POST the data in, either application/json or application/x-www-form-urlencoded

Changes