Skip to end of metadata
Go to start of metadata
Validate request
- Validate request using JSON schema
- In case validation failed - generate 422 error
Authorize user
- Verify the validity of access token
- Check user scopes in order to perform this action
- In case error - generate 401 response
Initialize verification
- call Initialize verification method
Generate SMS text
- call Man method - templates rendering service.
Send SMS
- Send SMS via API - currently Twilio. TBD - Postboy
- Message template - configuration parameter