---
title: "Create Webhook Config"
method: POST
path: "/webhook_configs"
tags: ["Webhooks"]
---

# Create Webhook Config

`POST /webhook_configs`

This API is creates a webhook config.

## Request body

- object — Webhook Config Create Request Model
  - `name` string, required
  - `topic` string, required
  - `action` string, required
  - `active` boolean
  - `callback` string, required
  - `secret` string

## Response `200`

Post Webhook Config Reponse

- object — Webhook Config Create Response Model
  - `webhook` object — WebhookConfig Model
    - `id` string
    - `name` string
    - `topic` string
    - `action` string
    - `type` string
    - `settings` object
      - `http` object
        - `url` string
      - `key` object
        - `secret` string
    - `active` boolean
    - `created_at` string
    - `modified_at` string
    - `customer_id` integer
  - `simulate` object[] — The keys in 'audit' will be dynamic based on the customer's stored webhook configs.
    - `id` string
    - `configuration` object
      - `id` string
      - `name` string
      - `topic` string
      - `action` string
      - `type` string
    - `payload` object
      - `system` object
        - `provider` string
        - `service` string
        - `host` object
          - `name` string
          - `uri` string
      - `customer` object
        - `id` integer
        - `name` string
      - `topic` string
      - `action` string
      - `trigger` object
        - `id` string
      - `custom` string
    - `audit` object
      - `1594090953` object
        - `297` object
          - `message` string
        - `0343` object
          - `message` string
      - `1594090954` object
        - `5825` object
          - `message` string
          - `status` string
    - `status` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/catapultsports/apis/openfield-connect-v6-api.md) · [All operations](https://skmtc.net/catapultsports/apis/openfield-connect-v6-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/catapultsports/openfield-connect-v6-api/revisions/b68eadaba68c/schema)
