Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: repowise Webhooks API
description: REST API for repowise — codebase documentation engine
version: 0.59.0
tags:
- name: Webhooks
paths:
/api/webhooks/github:
post:
tags:
- Webhooks
summary: Github Webhook
description: 'Receive and process GitHub webhook events.
Verifies HMAC-SHA256 signature, stores the event, and enqueues a sync
job for push events on the default branch.'
operationId: github_webhook_api_webhooks_github_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
x-repowise-stability: stable
/api/webhooks/gitlab:
post:
tags:
- Webhooks
summary: Gitlab Webhook
description: 'Receive and process GitLab webhook events.
Verifies X-Gitlab-Token header, stores the event, and enqueues a sync
job for push events on the default branch.'
operationId: gitlab_webhook_api_webhooks_gitlab_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
x-repowise-stability: stable
/api/webhooks/gitea:
post:
tags:
- Webhooks
summary: Gitea Webhook
description: 'Receive and process Gitea and Forgejo webhook events.
One endpoint serves both. Forgejo sends its own ``X-Forgejo-*`` headers
*and* the ``X-Gitea-*`` set beside them, so either name is read and a
Forgejo instance needs no separate route; the stored ``provider`` still
records which of the two sent the delivery.
Verifies the HMAC-SHA256 signature, stores the event, and enqueues a sync
job for push events on the default branch.'
operationId: gitea_webhook_api_webhooks_gitea_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
x-repowise-stability: stable
components:
schemas:
WebhookResponse:
properties:
event_id:
type: string
title: Event Id
status:
type: string
title: Status
default: accepted
type: object
required:
- event_id
title: WebhookResponse
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: Authorization