# Test passwordless connector **POST /api/connectors/{factoryId}/test** Test a passwordless (email or SMS) connector by sending a test message to the given phone number or email address. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **factoryId** (string) The unique identifier of the factory. ## Body parameters Content-type: application/json - **phone** (string(regex)) Phone number to send test message to. If this is set, email will be ignored. - **email** (string(regex)) Email address to send test message to. If phone is set, this will be ignored. - **config** (object) Connector configuration object for testing. - **locale** (string) Preferred language for the message. If not set, the default language will be used. (Applicable only when custom i18n templates are configured.) ## Responses ### 204: Test message was sent successfully. ### 400: Invalid request body (e.g. wrong phone number, email or config). ### 401: Unauthorized ### 403: Forbidden ### 404: Connector not found. [Powered by Bump.sh](https://bump.sh)