v1
latestOpenAPI 3.1.02026-07-1413113265.9 KBinstances
update instance
Update the instance.
put/instances/{id}
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"name": "My first instance",
"webhook": {
"url": "https://my.url.com/webhook/handler",
"events": [
"message",
"qr"
]
}
}Response
returns the updated instance.
Example response
{
"data": {
"status": "success",
"instanceId": "1",
"name": "My first Instance",
"instanceStatus": "ready",
"instanceWebhook": "https://my.url.com/webhook/handler",
"instanceEvents": [
"message"
]
},
"links": {
"self": "https://waapi.app/api/v1/instances/1"
},
"status": "success"
}