Skip to main content
GET
/
set_webhook
cURL
curl "https://api.wachap.com/v1/set_webhook?webhook_url=https%3A%2F%2Fexample.com%2Fwachap&enable=true&instance_id=609ACF283XXXX&access_token=646116c7XXXX"
{
  "status": 200,
  "success": true,
  "message": "Webhook configuré"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

webhook_url
string<uri>
required

URL du webhook

enable
boolean
required

Activer ou désactiver le webhook

instance_id
string
required

Identifiant de l'instance

Response

OK

status
integer
success
boolean
message
string