# Request and send a verification code **POST /api/verification-codes** Request a verification code for the provided identifier (email/phone). if you're using email as the identifier, you need to setup your email connector first. if you're using phone as the identifier, you need to setup your SMS connector first. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ## Body parameters Content-type: application/json - **email** (string(regex)) ## Responses ### 204: Verification code requested and sent successfully. ### 400: Bad request. The payload may be invalid. ### 401: Unauthorized ### 403: Forbidden ### 501: Not Implemented [Powered by Bump.sh](https://bump.sh)