---
title: "Update your webhook config"
method: PUT
path: "/api/v1/webhooks/config"
tags: ["Webhooks"]
---

# Update your webhook config

`PUT /api/v1/webhooks/config`

Required scope: `manage-webhooks:write`

## Request body

- WebhookConfig
  - `webhookUrl` string, required — A HTTPS URL to send the webhook payload to when an event occurs.
  - `webhookSecret` string, required — A cryptoghrapic secret used to sign the webhook payload.
  - `eventTypes` WebhookEntryEventType[], required — A list of event types to subscribe to.
  - `customHeaders` CustomHeaders
    - `headers` object, required
  - `teamIds` integer[], nullable — An optional list of team IDs. When set, only webhook events related to charge points belonging to one of the specified teams will be delivered. If omitted or set to null, events for all teams are delivered (current behaviour).

## Response `200`

Webhook config successfully updated.

- WebhookConfig
  - `webhookUrl` string, required — A HTTPS URL to send the webhook payload to when an event occurs.
  - `webhookSecret` string, required — A cryptoghrapic secret used to sign the webhook payload.
  - `eventTypes` WebhookEntryEventType[], required — A list of event types to subscribe to.
  - `customHeaders` CustomHeaders
    - `headers` object, required
  - `teamIds` integer[], nullable — An optional list of team IDs. When set, only webhook events related to charge points belonging to one of the specified teams will be delivered. If omitted or set to null, events for all teams are delivered (current behaviour).

## Other responses

- `400` — The request is invalid
- `401` — Consumer with provided credentials was not found
- `403` — Operator doesn't have access to resource
- `404` — Entity with the provided id was not found

---

[API](https://skmtc.net/monta/apis/monta-partner-api.md) · [All operations](https://skmtc.net/monta/apis/monta-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monta/monta-partner-api/revisions/517e18f11015/schema)
