---
title: "Capture signature client + verrouille le rapport (conformité DREET)."
method: POST
path: "/api/v1/maintenance/interventions/{intervention_id}/signature"
tags: ["Maintenance & IoT"]
---

# Capture signature client + verrouille le rapport (conformité DREET).

`POST /api/v1/maintenance/interventions/{intervention_id}/signature`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/maintenance/interventions/{intervention_id}/signature`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Capture signature client + verrouille le rapport (conformité DREET).

    Body : {image_base64, signed_by_name, signed_by_role, lock_reason?}

    `signed_by_role` ∈ {responsable_client, technicien_client, exploitant,
    client, agent, autre}. Magic bytes PNG/JPEG validés (pattern §44).
    Post-signature : report.report_locked = True (immuable).

**Permissions requises** : `maintenance:write`

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

## Other responses

- `201`: Ressource créée. ID dans `data.id`.
- `400`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `401`: JWT manquant, expiré ou révoqué.
- `402`: L'organisation n'a pas d'abonnement actif (paywall). Rediriger vers /activate.
- `403`: Permissions `module:action` insuffisantes pour cette route.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `409`: État incohérent (email dupliqué, ressource déjà dans cet état, etc.).
- `422`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

[API](https://skmtc.dev/eyeot/apis/eyeot-erp-api.md) · [All operations](https://skmtc.dev/eyeot/apis/eyeot-erp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eyeot/apis/eyeot-erp-api/revisions/42ab95222a89?raw)
