---
agentTools:
  projectIndex: https://developer-docs.gomotive.com/llms.txt
---

# List the company's webhooks

**Purpose**: Use this API to fetch a list of all the available Webhooks of your company. You can use these webhooks to send real-time date to another system automatically when a specific event occurs. They're commonly used for notifications, integrations, and automated workflows.

## Response Parameters

### company\_webhooks

### id

* **Type**: Integer
* **Description**: The unique identifier for the webhook.

### url

* **Type**: String
* **Description**: The URL to which the webhook sends data.

### secret

* **Type**: String
* **Description**: A secret key used for webhook authentication.

### format

* **Type**: String
* **Description**: The format of the webhook data (e.g., `json`).

### actions

* **Type**: Array of Strings
* **Description**: The list of actions that trigger the webhook.

### enabled

* **Type**: Boolean
* **Description**: Indicates whether the webhook is enabled.

***

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Motive",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.gomotive.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/company_webhooks": {
      "get": {
        "summary": "List the company's webhooks",
        "description": "",
        "operationId": "list-the-companys-webhooks",
        "parameters": [
          {
            "name": "per_page",
            "in": "query",
            "description": "Number of records to return per page.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          },
          {
            "name": "page_no",
            "in": "query",
            "description": "Current page number.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "X-Time-Zone",
            "in": "header",
            "description": "Specify the timezone for formatting the timestamps.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Metric-Units",
            "in": "header",
            "description": "Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "X-User-Id",
            "in": "header",
            "description": "Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "List all the webhooks": {
                    "value": "{\n  \"company_webhooks\": [\n    {\n      \"company_webhook\": {\n        \"id\": 42,\n        \"url\": \"https://api.gomotive.com/callbacktest/842b02\",\n        \"secret\": \"fe8b75de0a4e5898f0011faeb8c93654\",\n        \"format\": \"json\",\n        \"actions\": [\n          \"vehicle_location_received\",\n          \"vehicle_location_updated\"\n        ],\n        \"enabled\": false\n      }\n    },\n    {\n      \"company_webhook\": {\n        \"id\": 43,\n        \"url\": \"https://api.gomotive.com/callbacktest/a6a783\",\n        \"secret\": \"66a7368063cb21887f546c7af91be59c\",\n        \"format\": \"json\",\n        \"actions\": [\n          \"vehicle_location_received\",\n          \"vehicle_location_updated\"\n        ],\n        \"enabled\": false\n      }\n    },\n    {\n      \"company_webhook\": {\n        \"id\": 44,\n        \"url\": \"https://api.gomotive.com/callbacktest/53a52c\",\n        \"secret\": \"4451dc96513b3a67107466dd2c4d9589\",\n        \"format\": \"json\",\n        \"actions\": [\n          \"vehicle_location_received\",\n          \"vehicle_location_updated\"\n        ],\n        \"enabled\": false\n      }\n    },\n    {\n      \"company_webhook\": {\n        \"id\": 45,\n        \"url\": \"https://api.gomotive.com/callbacktest/6fb337\",\n        \"secret\": \"4177fbd88c30faaee03a4362648bd663\",\n        \"format\": \"json\",\n        \"actions\": [\n          \"vehicle_location_received\",\n          \"vehicle_location_updated\"\n        ],\n        \"enabled\": false\n      }\n    },\n    {\n      \"company_webhook\": {\n        \"id\": 46,\n        \"url\": \"https://api.gomotive.com/callbacktest/8cd6da\",\n        \"secret\": \"6e41817a048b009435e5102fca17db55\",\n        \"format\": \"json\",\n        \"actions\": [\n          \"vehicle_location_received\",\n          \"vehicle_location_updated\"\n        ],\n        \"enabled\": false\n      }\n    }\n  ],\n  \"pagination\": {\n    \"per_page\": 25,\n    \"page_no\": 1,\n    \"total\": 5\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company_webhooks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company_webhook": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 42,
                                "default": 0
                              },
                              "url": {
                                "type": "string",
                                "example": "https://api.gomotive.com/callbacktest/842b02"
                              },
                              "secret": {
                                "type": "string",
                                "example": "fe8b75de0a4e5898f0011faeb8c93654"
                              },
                              "format": {
                                "type": "string",
                                "example": "json"
                              },
                              "actions": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "example": "vehicle_location_received"
                                }
                              },
                              "enabled": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              }
                            }
                          }
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "per_page": {
                          "type": "integer",
                          "example": 25,
                          "default": 0
                        },
                        "page_no": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "total": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "66acf64a829e88001980fbf2:66cf7d405dd3d0001f5204bb"
}
```