---
title: "Create a secret"
method: POST
path: "/webhook_secrets"
tags: ["Webhooks"]
---

# Create a secret

`POST /webhook_secrets`

Create a webhook secret. The secret will be used to verify all subsequent webhook request signature.

## Response `201`

Webhook secret response

- object
  - `secret` string — Generated secret. Do not share. This secret will be used to verify that webhook requests were sent from Synctera.

## Other responses

- `401` — Unauthorized
- `409` — Resource already exists error
- `500` — Internal server error

---

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