Enroll SMS guardian device through API

You can Create a Guardian enrollment ticket using the POST /api/v2/guardian/enrollments/ticket endpoint of the management API. The payload would be:

{
  "user_id": "{USER_ID}",
  "email": "{OPTIONAL_ALTERNATE_EMAIL}",
  "send_mail": true
}
  • user_id: user_id for the enrollment
    ticket
  • email: alternate email to which the
    enrollment email will be sent.
    Optional - by default, the email will
    be sent to the user’s default address
  • send_mail: Send an email to the user
    to start the enrollment

You can also read more about this custom enrollments here: Create Custom Enrollment Tickets