webhooks

Update an incoming webhook

Update an incoming webhook given the hook id.

Permissions

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

put/api/v4/hooks/incoming/{hook_id}

Path parameters

hook_idstring required

Incoming Webhook GUID

Request body

idstring required

Incoming webhook GUID

channel_idstring required

The ID of a public channel or private group that receives the webhook payloads.

display_namestring required

The display name for this incoming webhook

descriptionstring required

The description for this incoming webhook

usernamestring

The username this incoming webhook will post as.

icon_urlstring

The profile picture this incoming webhook will use when posting.

Response

Webhook update successful

idstring

The unique identifier for this incoming webhook

create_atinteger

The time in milliseconds a incoming webhook was created

update_atinteger

The time in milliseconds a incoming webhook was last updated

delete_atinteger

The time in milliseconds a incoming webhook was deleted

channel_idstring

The ID of a public channel or private group that receives the webhook payloads

descriptionstring

The description for this incoming webhook

display_namestring

The display name for this incoming webhook

Changes

No recorded changes to this endpoint across all 1 revision of this API.