POST  secure.medicapp.ids.host/cloud/partner/v5
Créer un compte développeur →
POST /cloud/partner/v5/patients/{patientUuid}/questionnaires/push

Envoyer un questionnaire

Déclenche l'envoi d'un questionnaire à un patient par SMS ou email, depuis votre interface.

Champ Type Requis Description
questionnaireUuidstringOuiUUID du questionnaire (protocole de l'espace de confiance)
deliveryChannelenumOuiSMS · EMAIL · BOTH
scheduledAtdatetimeNonISO 8601. Envoi immédiat si absent.
⚠️
Retourne 409 Conflict si le questionnaire est déjà PENDING ou COMPLETED pour ce patient.
curl Envoi immédiat par SMS
curl -X POST https://secure.medicapp.ids.host/cloud/partner/v5/patients/{patientUuid}/questionnaires/push \
  -H "Authorization: Bearer sk_test_VOTRE_CLE" \
  -H "Content-Type: application/json" \
  -d '{
    "questionnaireUuid": "qst_xxxxxxxxxxxx",
    "deliveryChannel": "SMS"
  }'
curl Envoi planifié
curl -X POST https://secure.medicapp.ids.host/cloud/partner/v5/patients/{patientUuid}/questionnaires/push \
  -H "Authorization: Bearer sk_test_VOTRE_CLE" \
  -H "Content-Type: application/json" \
  -d '{
    "questionnaireUuid": "qst_xxxxxxxxxxxx",
    "deliveryChannel": "BOTH",
    "scheduledAt": "2026-05-10T08:00:00Z"
  }'
json201 Created
{
  "pushUuid": "push_xxxxxxxxxxxx",
  "status": "SCHEDULED",
  "scheduledAt": "2026-05-10T08:00:00Z",
  "patientUuid": "pat_xxxxxxxxxxx",
  "questionnaireUuid": "qst_xxxxxxxxxxxx"
}

POST /patients/{uuid}/questionnaires/push