latestOpenAPI 3.0.12026-08-188456240.4 KB

6e6982573ba6

Action Management API

Update existing Webhook action

put/api/2.0/actions/webhooks/{objectId}

Path parameters

objectIdinteger required

Action ID to be updated

Request body

createdDateinteger

Created date in milliseconds

lastModDateinteger

Last modified date

idinteger

Action ID

userIdinteger

Action owner's user ID

actionTypestring

Action type

dataFormat'attachment' | 'json'

Webhook data format

urlstring

Webhook request URL

authUrlstring

Webhook authentication URL

authHeadersstring

Webhook authentication headers

webhookHeadersstring

Webhook request headers

customPostBodystring

Webhook request post body

namestring

Webhook action name

Example request

{
  "actionType": "SLACK, TEAMS, WEBHOOK"
}

Response

Success

createdDateinteger

Created date in milliseconds

lastModDateinteger

Last modified date

idinteger

Action ID

userIdinteger

Action owner's user ID

actionTypestring

Action type

dataFormat'attachment' | 'json'

Webhook data format

urlstring

Webhook request URL

authUrlstring

Webhook authentication URL

authHeadersstring

Webhook authentication headers

webhookHeadersstring

Webhook request headers

customPostBodystring

Webhook request post body

namestring

Webhook action name

Example response

{
  "actionType": "SLACK, TEAMS, WEBHOOK"
}