diff --git a/smash/web/api_views.py b/smash/web/api_views.py
index dbd4197511803f82930ed2ef18a7d68348c71e52..e2d22fbe6602a3390dac51af023689dd90d019f4 100644
--- a/smash/web/api_views.py
+++ b/smash/web/api_views.py
@@ -50,9 +50,11 @@ def appointment_types(request):
     result = []
     for appointment in appointments:
         result.append({
+            "id": appointment.id,
             "type": appointment.code,
             "default_duration": appointment.default_duration,
-            "can_be_parallelized: ": appointment.can_be_parallelized})
+            "can_be_parallelized: ": appointment.can_be_parallelized,
+        })
     return JsonResponse({
         "appointments" : result
     })