{"openapi":"3.1.0","info":{"title":"Signoui API","description":"API de signature électronique de Signoui (HSLP Labs). Authentification par clé `Authorization: Bearer sk_live_…` ou `sk_test_…`.","version":"0.1.0"},"paths":{"/v1/me":{"get":{"tags":["v1"],"summary":"Me","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeOut"}}}}}}},"/v1/envelopes":{"post":{"tags":["v1"],"summary":"Create Envelope","operationId":"create_envelope_v1_envelopes_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"List Envelopes","operationId":"list_envelopes_v1_envelopes_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}":{"get":{"tags":["v1"],"summary":"Get Envelope","operationId":"get_envelope_v1_envelopes__envelope_id__get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/documents":{"post":{"tags":["v1"],"summary":"Add Document","operationId":"add_document_v1_envelopes__envelope_id__documents_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_document_v1_envelopes__envelope_id__documents_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/signers":{"post":{"tags":["v1"],"summary":"Add Signer","operationId":"add_signer_v1_envelopes__envelope_id__signers_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignerCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/signers/{signer_id}/sign-link":{"post":{"tags":["v1"],"summary":"Sign Link","description":"Signature intégrée : lien court à ouvrir dans votre site (iframe ou redirection).\n\nLe dossier doit être envoyé et ce doit être le tour du signataire. Chaque appel génère un nouveau lien\n(l'ancien lien intégré devient invalide ; le lien envoyé par e-mail, s'il existe, reste valable).","operationId":"sign_link_v1_envelopes__envelope_id__signers__signer_id__sign_link_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}},{"name":"signer_id","in":"path","required":true,"schema":{"type":"string","title":"Signer Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SignLinkRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignLinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/fields":{"post":{"tags":["v1"],"summary":"Add Field","operationId":"add_field_v1_envelopes__envelope_id__fields_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/send":{"post":{"tags":["v1"],"summary":"Send Envelope","operationId":"send_envelope_v1_envelopes__envelope_id__send_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/cancel":{"post":{"tags":["v1"],"summary":"Cancel Envelope","operationId":"cancel_envelope_v1_envelopes__envelope_id__cancel_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CancelRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvelopeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/events":{"get":{"tags":["v1"],"summary":"List Events","operationId":"list_events_v1_envelopes__envelope_id__events_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuditEventOut"},"title":"Response List Events V1 Envelopes  Envelope Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/envelopes/{envelope_id}/documents/{document_id}/download":{"get":{"tags":["v1"],"summary":"Download Document","operationId":"download_document_v1_envelopes__envelope_id__documents__document_id__download_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}},{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/aide":{"get":{"tags":["sign"],"summary":"Aide","operationId":"aide_sign_aide_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sign/lien-perdu":{"post":{"tags":["sign"],"summary":"Lien Perdu","operationId":"lien_perdu_sign_lien_perdu_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_lien_perdu_sign_lien_perdu_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}":{"get":{"tags":["sign"],"summary":"Accueil","operationId":"accueil_sign__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/lecture":{"get":{"tags":["sign"],"summary":"Lecture","operationId":"lecture_sign__token__lecture_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sign"],"summary":"Lecture Done","operationId":"lecture_done_sign__token__lecture_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_lecture_done_sign__token__lecture_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/page/{n}.png":{"get":{"tags":["sign"],"summary":"Page Png","operationId":"page_png_sign__token__page__n__png_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/original.pdf":{"get":{"tags":["sign"],"summary":"Original Pdf","operationId":"original_pdf_sign__token__original_pdf_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/champs":{"get":{"tags":["sign"],"summary":"Champs","operationId":"champs_sign__token__champs_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sign"],"summary":"Champs Post","operationId":"champs_post_sign__token__champs_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/consentement":{"get":{"tags":["sign"],"summary":"Consentement","operationId":"consentement_sign__token__consentement_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sign"],"summary":"Consentement Post","operationId":"consentement_post_sign__token__consentement_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_consentement_post_sign__token__consentement_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/signer":{"post":{"tags":["sign"],"summary":"Signer Sans Code","description":"Signature intégrée sans code (otp_channel = none) : l'émetteur a identifié lui-même le signataire.","operationId":"signer_sans_code_sign__token__signer_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signer_sans_code_sign__token__signer_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["sign"],"summary":"Signer Sans Code Get","operationId":"signer_sans_code_get_sign__token__signer_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/code":{"get":{"tags":["sign"],"summary":"Code","operationId":"code_sign__token__code_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/code/envoyer":{"post":{"tags":["sign"],"summary":"Code Envoyer","operationId":"code_envoyer_sign__token__code_envoyer_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_code_envoyer_sign__token__code_envoyer_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/code/verifier":{"post":{"tags":["sign"],"summary":"Code Verifier","operationId":"code_verifier_sign__token__code_verifier_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_code_verifier_sign__token__code_verifier_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/fin":{"get":{"tags":["sign"],"summary":"Fin","operationId":"fin_sign__token__fin_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"s","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sign/{token}/refus":{"get":{"tags":["sign"],"summary":"Refus","operationId":"refus_sign__token__refus_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sign"],"summary":"Refus Post","operationId":"refus_post_sign__token__refus_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_refus_post_sign__token__refus_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/connexion":{"get":{"tags":["app"],"summary":"Connexion","operationId":"connexion_app_connexion_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/app","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Connexion Post","operationId":"connexion_post_app_connexion_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_connexion_post_app_connexion_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/deconnexion":{"post":{"tags":["app"],"summary":"Deconnexion","operationId":"deconnexion_app_deconnexion_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_deconnexion_app_deconnexion_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/inscription":{"get":{"tags":["app"],"summary":"Inscription","operationId":"inscription_app_inscription_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["app"],"summary":"Inscription Post","description":"Étape 1 : contrôle des champs, envoi du code SMS. Le compte n'est créé qu'après vérification du mobile.","operationId":"inscription_post_app_inscription_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_inscription_post_app_inscription_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/inscription/mobile":{"get":{"tags":["app"],"summary":"Inscription Mobile","operationId":"inscription_mobile_app_inscription_mobile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["app"],"summary":"Inscription Mobile Post","description":"Étape 2 : vérification du code, puis création du compte et envoi du lien d'activation.","operationId":"inscription_mobile_post_app_inscription_mobile_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_inscription_mobile_post_app_inscription_mobile_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/activation/{token}":{"get":{"tags":["app"],"summary":"Activation","operationId":"activation_app_activation__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Activation Post","operationId":"activation_post_app_activation__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_activation_post_app_activation__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/mot-de-passe-oublie":{"get":{"tags":["app"],"summary":"Mdp Oublie","operationId":"mdp_oublie_app_mot_de_passe_oublie_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["app"],"summary":"Mdp Oublie Post","operationId":"mdp_oublie_post_app_mot_de_passe_oublie_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_mdp_oublie_post_app_mot_de_passe_oublie_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/reinitialisation/{token}":{"get":{"tags":["app"],"summary":"Reinit","operationId":"reinit_app_reinitialisation__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Reinit Post","operationId":"reinit_post_app_reinitialisation__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reinit_post_app_reinitialisation__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/":{"get":{"tags":["app"],"summary":"Dashboard","operationId":"dashboard_app__get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app":{"get":{"tags":["app"],"summary":"Dashboard","operationId":"dashboard_app_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/nouveau":{"get":{"tags":["app"],"summary":"Nouveau","operationId":"nouveau_app_dossiers_nouveau_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["app"],"summary":"Nouveau Post","operationId":"nouveau_post_app_dossiers_nouveau_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/dossiers/{envelope_id}/signataires":{"get":{"tags":["app"],"summary":"Signataires","operationId":"signataires_app_dossiers__envelope_id__signataires_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Signataires Post","operationId":"signataires_post_app_dossiers__envelope_id__signataires_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signataires_post_app_dossiers__envelope_id__signataires_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/champs":{"get":{"tags":["app"],"summary":"Champs","operationId":"champs_app_dossiers__envelope_id__champs_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/page/{n}.png":{"get":{"tags":["app"],"summary":"Page Png","operationId":"page_png_app_dossiers__envelope_id__page__n__png_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/champs.json":{"post":{"tags":["app"],"summary":"Champs Save","description":"Remplace l'ensemble des champs du brouillon par ceux envoyés par l'éditeur.","operationId":"champs_save_app_dossiers__envelope_id__champs_json_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/envoi":{"get":{"tags":["app"],"summary":"Envoi","operationId":"envoi_app_dossiers__envelope_id__envoi_get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Envoi Post","operationId":"envoi_post_app_dossiers__envelope_id__envoi_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_envoi_post_app_dossiers__envelope_id__envoi_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}":{"get":{"tags":["app"],"summary":"Dossier","operationId":"dossier_app_dossiers__envelope_id__get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/action":{"post":{"tags":["app"],"summary":"Dossier Action","operationId":"dossier_action_app_dossiers__envelope_id__action_post","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dossier_action_app_dossiers__envelope_id__action_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/dossiers/{envelope_id}/documents/{document_id}":{"get":{"tags":["app"],"summary":"Download","operationId":"download_app_dossiers__envelope_id__documents__document_id__get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}},{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/modeles":{"get":{"tags":["app"],"summary":"Modeles","operationId":"modeles_app_modeles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/modeles/{template_id}/supprimer":{"post":{"tags":["app"],"summary":"Modele Supprimer","operationId":"modele_supprimer_app_modeles__template_id__supprimer_post","parameters":[{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_modele_supprimer_app_modeles__template_id__supprimer_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app/contacts":{"get":{"tags":["app"],"summary":"Contacts","operationId":"contacts_app_contacts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/developpeurs":{"get":{"tags":["app"],"summary":"Developpeurs","operationId":"developpeurs_app_developpeurs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/developpeurs/cles":{"post":{"tags":["app"],"summary":"Cles Post","operationId":"cles_post_app_developpeurs_cles_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/developpeurs/webhooks":{"post":{"tags":["app"],"summary":"Webhooks Post","operationId":"webhooks_post_app_developpeurs_webhooks_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/parametres":{"get":{"tags":["app"],"summary":"Parametres","operationId":"parametres_app_parametres_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["app"],"summary":"Parametres Post","operationId":"parametres_post_app_parametres_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/facturation":{"get":{"tags":["app"],"summary":"Facturation","operationId":"facturation_app_facturation_get","parameters":[{"name":"ok","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ok"}},{"name":"cancel","in":"query","required":false,"schema":{"type":"string","default":"","title":"Cancel"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["app"],"summary":"Facturation Post","operationId":"facturation_post_app_facturation_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_facturation_post_app_facturation_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/connexion":{"get":{"tags":["admin"],"summary":"Connexion","operationId":"connexion_admin_connexion_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Connexion Post","operationId":"connexion_post_admin_connexion_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_connexion_post_admin_connexion_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/totp":{"get":{"tags":["admin"],"summary":"Totp","operationId":"totp_admin_totp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Totp Post","operationId":"totp_post_admin_totp_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_totp_post_admin_totp_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/deconnexion":{"post":{"tags":["admin"],"summary":"Deconnexion","operationId":"deconnexion_admin_deconnexion_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_deconnexion_admin_deconnexion_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/":{"get":{"tags":["admin"],"summary":"Supervision","operationId":"supervision_admin__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"tags":["admin"],"summary":"Supervision","operationId":"supervision_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/organisations":{"get":{"tags":["admin"],"summary":"Organisations","operationId":"organisations_admin_organisations_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/organisations/{org_id}":{"get":{"tags":["admin"],"summary":"Organisation","operationId":"organisation_admin_organisations__org_id__get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Organisation Post","operationId":"organisation_post_admin_organisations__org_id__post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_organisation_post_admin_organisations__org_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/dossiers/{envelope_id}":{"get":{"tags":["admin"],"summary":"Dossier","operationId":"dossier_admin_dossiers__envelope_id__get","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","title":"Envelope Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/demasquer":{"post":{"tags":["admin"],"summary":"Demasquer","operationId":"demasquer_admin_demasquer_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_demasquer_admin_demasquer_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/taches":{"get":{"tags":["admin"],"summary":"Taches","operationId":"taches_admin_taches_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/taches/{job_id}":{"post":{"tags":["admin"],"summary":"Tache Post","operationId":"tache_post_admin_taches__job_id__post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_tache_post_admin_taches__job_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/rgpd":{"get":{"tags":["admin"],"summary":"Rgpd","description":"Export des données liées à une adresse e-mail (droit d'accès), sans démasquage en page.","operationId":"rgpd_admin_rgpd_get","parameters":[{"name":"email","in":"query","required":false,"schema":{"type":"string","default":"","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify":{"get":{"tags":["public"],"summary":"Verify Page","operationId":"verify_page_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["public"],"summary":"Verify Post","operationId":"verify_post_verify_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_verify_post_verify_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/root.crt.pem":{"get":{"tags":["public"],"summary":"Root Cert","operationId":"root_cert_verify_root_crt_pem_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/public/contact":{"post":{"tags":["public"],"summary":"Contact","description":"Réception du formulaire de contact du site vitrine (champ piège + limite de débit).","operationId":"contact_public_contact_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AuditEventOut":{"properties":{"id":{"type":"string","title":"Id"},"seq":{"type":"integer","title":"Seq"},"type":{"type":"string","title":"Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"signer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Id"},"ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"prev_hash":{"type":"string","title":"Prev Hash"},"hash":{"type":"string","title":"Hash"}},"type":"object","required":["id","seq","type","occurred_at","actor","signer_id","ip","user_agent","data","prev_hash","hash"],"title":"AuditEventOut"},"Body_activation_post_app_activation__token__post":{"properties":{"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["password"],"title":"Body_activation_post_app_activation__token__post"},"Body_add_document_v1_envelopes__envelope_id__documents_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_add_document_v1_envelopes__envelope_id__documents_post"},"Body_code_envoyer_sign__token__code_envoyer_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"channel":{"type":"string","title":"Channel","default":""}},"type":"object","title":"Body_code_envoyer_sign__token__code_envoyer_post"},"Body_code_verifier_sign__token__code_verifier_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"code":{"type":"string","title":"Code","default":""}},"type":"object","title":"Body_code_verifier_sign__token__code_verifier_post"},"Body_connexion_post_admin_connexion_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["email","password"],"title":"Body_connexion_post_admin_connexion_post"},"Body_connexion_post_app_connexion_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"totp":{"type":"string","title":"Totp","default":""},"next":{"type":"string","title":"Next","default":"/app"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["email","password"],"title":"Body_connexion_post_app_connexion_post"},"Body_consentement_post_sign__token__consentement_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"consent":{"type":"string","title":"Consent","default":""}},"type":"object","title":"Body_consentement_post_sign__token__consentement_post"},"Body_deconnexion_admin_deconnexion_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_deconnexion_admin_deconnexion_post"},"Body_deconnexion_app_deconnexion_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_deconnexion_app_deconnexion_post"},"Body_demasquer_admin_demasquer_post":{"properties":{"envelope_id":{"type":"string","title":"Envelope Id"},"reason":{"type":"string","title":"Reason"},"totp":{"type":"string","title":"Totp"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["envelope_id","reason","totp"],"title":"Body_demasquer_admin_demasquer_post"},"Body_dossier_action_app_dossiers__envelope_id__action_post":{"properties":{"action":{"type":"string","title":"Action"},"signer_id":{"type":"string","title":"Signer Id","default":""},"reason":{"type":"string","title":"Reason","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["action"],"title":"Body_dossier_action_app_dossiers__envelope_id__action_post"},"Body_envoi_post_app_dossiers__envelope_id__envoi_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_envoi_post_app_dossiers__envelope_id__envoi_post"},"Body_facturation_post_app_facturation_post":{"properties":{"action":{"type":"string","title":"Action"},"size":{"type":"integer","title":"Size","default":0},"buyer_kind":{"type":"string","title":"Buyer Kind","default":"professionnel"},"waiver":{"type":"string","title":"Waiver","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["action"],"title":"Body_facturation_post_app_facturation_post"},"Body_inscription_mobile_post_app_inscription_mobile_post":{"properties":{"code":{"type":"string","title":"Code","default":""},"action":{"type":"string","title":"Action","default":"verify"},"phone":{"type":"string","title":"Phone","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_inscription_mobile_post_app_inscription_mobile_post"},"Body_inscription_post_app_inscription_post":{"properties":{"org_name":{"type":"string","title":"Org Name"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","title":"Email"},"phone":{"type":"string","title":"Phone","default":""},"password":{"type":"string","title":"Password"},"cgu":{"type":"string","title":"Cgu","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["org_name","full_name","email","password"],"title":"Body_inscription_post_app_inscription_post"},"Body_lecture_done_sign__token__lecture_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"pages_reached":{"type":"integer","title":"Pages Reached","default":1},"seconds":{"type":"integer","title":"Seconds","default":0}},"type":"object","title":"Body_lecture_done_sign__token__lecture_post"},"Body_lien_perdu_sign_lien_perdu_post":{"properties":{"email":{"type":"string","title":"Email"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["email"],"title":"Body_lien_perdu_sign_lien_perdu_post"},"Body_mdp_oublie_post_app_mot_de_passe_oublie_post":{"properties":{"email":{"type":"string","title":"Email"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["email"],"title":"Body_mdp_oublie_post_app_mot_de_passe_oublie_post"},"Body_modele_supprimer_app_modeles__template_id__supprimer_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_modele_supprimer_app_modeles__template_id__supprimer_post"},"Body_organisation_post_admin_organisations__org_id__post":{"properties":{"action":{"type":"string","title":"Action"},"value":{"type":"string","title":"Value","default":""},"reason":{"type":"string","title":"Reason","default":""},"totp":{"type":"string","title":"Totp","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["action"],"title":"Body_organisation_post_admin_organisations__org_id__post"},"Body_refus_post_sign__token__refus_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_refus_post_sign__token__refus_post"},"Body_reinit_post_app_reinitialisation__token__post":{"properties":{"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["password"],"title":"Body_reinit_post_app_reinitialisation__token__post"},"Body_signataires_post_app_dossiers__envelope_id__signataires_post":{"properties":{"action":{"type":"string","title":"Action","default":"add"},"full_name":{"type":"string","title":"Full Name","default":""},"email":{"type":"string","title":"Email","default":""},"phone":{"type":"string","title":"Phone","default":""},"otp_channel":{"type":"string","title":"Otp Channel","default":"sms"},"signer_id":{"type":"string","title":"Signer Id","default":""},"workflow":{"type":"string","title":"Workflow","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_signataires_post_app_dossiers__envelope_id__signataires_post"},"Body_signer_sans_code_sign__token__signer_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_signer_sans_code_sign__token__signer_post"},"Body_tache_post_admin_taches__job_id__post":{"properties":{"action":{"type":"string","title":"Action"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["action"],"title":"Body_tache_post_admin_taches__job_id__post"},"Body_totp_post_admin_totp_post":{"properties":{"code":{"type":"string","title":"Code"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["code"],"title":"Body_totp_post_admin_totp_post"},"Body_verify_post_verify_post":{"properties":{"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"sha256":{"type":"string","title":"Sha256","default":""},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_verify_post_verify_post"},"CancelRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CancelRequest"},"DocumentOut":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"filename":{"type":"string","title":"Filename"},"sha256":{"type":"string","title":"Sha256"},"size_bytes":{"type":"integer","title":"Size Bytes"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","kind","filename","sha256","size_bytes","page_count","created_at"],"title":"DocumentOut"},"EnvelopeCreate":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"workflow":{"type":"string","enum":["sequential","parallel"],"title":"Workflow","default":"sequential"},"message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Message"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"reminders_enabled":{"type":"boolean","title":"Reminders Enabled","default":true}},"type":"object","required":["title"],"title":"EnvelopeCreate"},"EnvelopeListOut":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EnvelopeOut"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","next_cursor"],"title":"EnvelopeListOut"},"EnvelopeOut":{"properties":{"id":{"type":"string","title":"Id"},"mode":{"type":"string","title":"Mode"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"workflow":{"type":"string","title":"Workflow"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"close_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Close Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"documents":{"items":{"$ref":"#/components/schemas/DocumentOut"},"type":"array","title":"Documents"},"signers":{"items":{"$ref":"#/components/schemas/SignerOut"},"type":"array","title":"Signers"},"fields":{"items":{"$ref":"#/components/schemas/FieldOut"},"type":"array","title":"Fields"},"test_sign_urls":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Test Sign Urls"}},"type":"object","required":["id","mode","title","status","workflow","message","metadata","expires_at","sent_at","completed_at","closed_at","close_reason","created_at","documents","signers","fields"],"title":"EnvelopeOut"},"FieldCreate":{"properties":{"document_id":{"type":"string","title":"Document Id"},"signer_id":{"type":"string","title":"Signer Id"},"kind":{"type":"string","enum":["signature","initials","text","checkbox","date","mention"],"title":"Kind"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"x":{"type":"number","minimum":0.0,"title":"X"},"y":{"type":"number","minimum":0.0,"title":"Y"},"width":{"type":"number","exclusiveMinimum":0.0,"title":"Width"},"height":{"type":"number","exclusiveMinimum":0.0,"title":"Height"},"required":{"type":"boolean","title":"Required","default":true},"label":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Label"}},"type":"object","required":["document_id","signer_id","kind","page","x","y","width","height"],"title":"FieldCreate"},"FieldOut":{"properties":{"id":{"type":"string","title":"Id"},"document_id":{"type":"string","title":"Document Id"},"signer_id":{"type":"string","title":"Signer Id"},"kind":{"type":"string","title":"Kind"},"page":{"type":"integer","title":"Page"},"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"width":{"type":"number","title":"Width"},"height":{"type":"number","title":"Height"},"required":{"type":"boolean","title":"Required"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"filled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Filled At"}},"type":"object","required":["id","document_id","signer_id","kind","page","x","y","width","height","required","label","value","filled_at"],"title":"FieldOut"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MeOut":{"properties":{"organization_id":{"type":"string","title":"Organization Id"},"organization_name":{"type":"string","title":"Organization Name"},"billing_mode":{"type":"string","title":"Billing Mode","description":"prepaid | api_monthly | internal"},"sends_available":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sends Available","description":"Envois disponibles (offerts du mois + packs) ; null = illimité (API mensuelle, interne)."},"api_key_id":{"type":"string","title":"Api Key Id"},"api_key_name":{"type":"string","title":"Api Key Name"},"mode":{"type":"string","title":"Mode"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","required":["organization_id","organization_name","billing_mode","sends_available","api_key_id","api_key_name","mode","scopes"],"title":"MeOut"},"SignLinkOut":{"properties":{"url":{"type":"string","title":"Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"signer_id":{"type":"string","title":"Signer Id"},"mode":{"type":"string","title":"Mode","description":"`embedded` : à ouvrir dans une iframe (domaines déclarés dans les paramètres) ou par redirection."}},"type":"object","required":["url","expires_at","signer_id","mode"],"title":"SignLinkOut"},"SignLinkRequest":{"properties":{"ttl_minutes":{"type":"integer","maximum":1440.0,"minimum":5.0,"title":"Ttl Minutes","description":"Durée de validité du lien (5 min à 24 h).","default":60},"return_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Return Url","description":"Remplace l'URL de retour du signataire."}},"type":"object","title":"SignLinkRequest"},"SignerCreate":{"properties":{"full_name":{"type":"string","maxLength":200,"minLength":1,"title":"Full Name"},"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone"},"rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Rank"},"otp_channel":{"anyOf":[{"type":"string","enum":["sms","email","choice","none"]},{"type":"null"}],"title":"Otp Channel","description":"Canal du code de signature : `sms` (recommandé, téléphone requis), `email`, `choice` (téléphone requis ; le signataire choisit SMS ou e-mail au moment de signer, choix inscrit au journal), ou `none` (signature intégrée : AUCUN code, vous déclarez avoir identifié vous-même le signataire via son compte chez vous ; `external_id` obligatoire ; identification « déléguée à l'émetteur » dans la preuve, plus faible en cas de contestation). Défaut : réglage de l'organisation."},"locale":{"type":"string","const":"fr","title":"Locale","default":"fr"},"delivery":{"type":"string","enum":["email","sms","none"],"title":"Delivery","description":"Comment le signataire reçoit son invitation : `email` (lien par e-mail, rappels J+3/J+7), `sms` (lien par SMS, téléphone requis), ou `none` (signature intégrée : rien n'est envoyé, vous obtenez le lien via `POST /envelopes/{id}/signers/{signer_id}/sign-link` et l'ouvrez dans votre site).","default":"email"},"external_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"External Id","description":"Identifiant du signataire dans votre système, inscrit au dossier de preuve."},"return_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Return Url","description":"URL https de retour sur votre site après signature (mode intégré)."}},"type":"object","required":["full_name","email"],"title":"SignerCreate"},"SignerOut":{"properties":{"id":{"type":"string","title":"Id"},"rank":{"type":"integer","title":"Rank"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"otp_channel":{"type":"string","title":"Otp Channel"},"delivery":{"type":"string","title":"Delivery"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"status":{"type":"string","title":"Status"},"notified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notified At"},"opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opened At"},"signed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Signed At"},"declined_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Declined At"},"decline_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decline Reason"}},"type":"object","required":["id","rank","full_name","email","phone","otp_channel","delivery","external_id","status","notified_at","opened_at","signed_at","declined_at","decline_reason"],"title":"SignerOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}