---
title: "Détail d'un endpoint de webhook"
method: GET
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Détail d'un endpoint de webhook

`GET /webhooks/{id}`

## Request

- Base URL: `https://api.swipify.fr/api/v1`
- URL: `https://api.swipify.fr/api/v1/webhooks/{id}`
- Auth: API key in header `X-API-Key`

Scope requis : `webhooks:read`.

## Path parameters

- `id` integer, required

## Response `200`

Endpoint

- Webhook: Endpoint de webhook sortant (le secret n'est jamais renvoyé après la création).
  - `id` integer
  - `url` string, uri
  - `events` WebhookEventType[]
  - `description` string, nullable
  - `active` boolean
  - `secretPrefix` string: Préfixe du secret (indice d'identification ; jamais le secret complet).
  - `lastTriggeredAt` string, date-time, nullable
  - `createdAt` string, date-time

## Other responses

- `401`: Échec d'authentification : clé API manquante (`missing_api_key`) ou invalide/révoquée/expirée (`invalid_api_key`). Le client doit présenter une clé valide.
- `403`: Clé authentifiée mais non autorisée : scope insuffisant pour cette route (`scope_required`), ou organisation sans abonnement Pro actif (`pro_required`). `GET /me` reste accessible sans Pro pour diagnostiquer la clé.
- `404`: Ressource introuvable

---

[API](https://skmtc.dev/swipify/apis/swipify-api-publique.md) · [All operations](https://skmtc.dev/swipify/apis/swipify-api-publique/llms.txt) · [OpenAPI document](https://skmtc.dev/swipify/apis/swipify-api-publique/revisions/44c17201b479?raw)
