Get a count of Webhooks

Get the number of all webhooks by default and by passing domain filter optionally, retrieve only the number of webhooks matching the query.

GET /restapi/1.0/webhooks/count

Request:

GET /restapi/1.0/webhooks/count?domain=[('model','=','product.product')] HTTP/1.1
Host: {your_Odoo_server_url}

Response:

HTTP/1.1 200 OK

{
  'count': 3
}
Query Parameters:
 
Request Headers:
 
  • Accept – the response content type depends on Accept header
  • Authorization – The OAuth protocol parameters to authenticate.
Response Headers:
 
Status Codes: