Edit an existing webhook item

Edit an existing webhook item

Path Params
integer
required

Id of the webhook element on which we want to perform the operation

Query Params
integer
required

Application that corresponds to the instance associated with the webhook on which you want to perform the operation

Body Params
string | null

Free text description set by user

string | null

Template URL to call when message received

string | null

Template URL to call when principal URL fails

string | null

Name of the function to call. If not indicated, the function set by default will be used (default).

functionParameters
object | null

Aditional parameters to pass when calling the function

string | null
enum

Type of HTTP request

Allowed:
reqHeaders
object | null

Key value dictionary with the headers needed to make the request.

string | null

Template that we must use to shape the body of the request. Not valid for GET reqType

string | null

Only for template messages (template) Path within the object of the response where we can find the user's phone number that we must impact with the response.

string

External webhook ID set by user.

string

Type of content of the message to be generated from the webhook call

resTemplate
object

Message content.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json