after calling POST /admin/identities ( invite user...
# talk-kratos
l
after calling POST /admin/identities ( invite user) API, the user need to get an email like email verification something like that. how to do it with kratos? saw something like '/self-service/verification/requests' POST API, which is use to send email verification . but it have 403 error about CSRF token.
m
1. Init a verification flow: /self-service/verification/api’ 2. Send the verification email or confirm code: /self-service/verification?flow=flow-id Request body for sending out the verification email: { “email”: “some-email@gmail.com”, “method”: “code” } Request body for confirming the code sent to the email: { “code”: “123456", “email”: “some-email@gmail.com”, “method”: “code” }