Service

Name Confirmation Email
Description Reset and resend confirmation by email
Method PATCH
URL /security/confirm/email
Example /api/security/confirm/email
Access OWNER, MANAGER, TRAVELER, PARTNER

HTTP Headers

Authorization eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXUyJ9...

Parameters

Fields Type Required Description

Response

            
                {
                    "code": R111,
                    "message": "Success"
                }
            
            

Response Codes

Code Message Cause Possible Frontend Message [Behavior]
EC000 Internal error in API Internal error connecting the database "Oops! Looks like we hit a snag. Try closing the app and reopening it."
EC001 User not found Token user id doesn't match our records "Sorry, We couldn't find your information!"
EC025 Error when try to send email Error trying to resend the email with the code "Oops! Looks like we hit a snag. Try closing the app and reopening it."
R000 Fail The user email is not valid "Oops! Looks like we hit a snag. Try closing the app and reopening it."
R111 Success The operation was successful "Another email confirmation has been sent. Please check your inbox." [Stay in "Enter confirmation code" screen]
SC006 User no authorization The token role is not valid for using the API services "You have been logged out." - [Take the user to the login screen]
SC011 User is enabled The user is active in our records "Your account has been activated."
SC014 Expired token The token has expired "You have been logged out." - [Take the user to the login screen]