Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Invoke Initialize OTP to generate one time password and send it to third_person number (that is added as a new auth method). At this stage, the patients receive an SMS message.

Phone_numbers:

...

mpi.person_auth_method.value, where person_id = $.person_id and id_primary=True

mpi.person_auth_method.value, where person_id = $.third_person.id and type = OTP

cURL example

Code Block
curl -X POST \
  http://localhost:4000/verifications \
  -H 'content-type: application/json' \
  -d '{
  "phone_number": "+380936235985"
}'