---
title: "Create a new company webhook"
method: POST
path: "/v1/company_webhooks"
---

# Create a new company webhook

`POST /v1/company_webhooks`

## Request

- Base URL: `https://api.gomotive.com`
- URL: `https://api.gomotive.com/v1/company_webhooks`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/gomotive/apis/motive/docs/v1/company_webhooks/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `url` string
- `secret` string
- `format` string
- `actions` string[]
- `enabled` boolean

## Headers

- `X-Time-Zone` string
- `X-Metric-Units` boolean
- `X-User-Id` integer

## Response `201`

201

- object
  - `company_webhook` object
    - `id` integer
    - `url` string
    - `secret` string
    - `format` string
    - `actions` string[]
    - `enabled` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/gomotive/apis/motive.md) - [All operations](https://skmtc.dev/gomotive/apis/motive/llms.txt) - [OpenAPI document](https://skmtc.dev/gomotive/apis/motive/revisions/c71780e497f5?raw)
