Objective
Setting up language in Verify API using PHP.
Applies To
- Verify API
- PHP Client SDK
Procedure
The language can be set in a Verification object before starting the verification process. Below is the sample code, with sample language for Germany:
$request = new \Vonage\Verify\Request(NUMBER, BRAND_NAME);
$request->setCountry('de');
$response = $client->verify()->start($request);
Additional Information
For more information on sending verification code by Verify API, please see this.
Articles in this section
- How do I know whether TTS or SMS will be used for a verification?
- What happens if the line is busy when receiving a Verify call?
- What happens if the Verify TTS call goes to voicemail?
- What is the maximum number of Verify attempts a user will receive?
- How much time is there between Verify attempts?
- What is the maximum amount of concurrent Verify requests per account?
- How many times can I send a Verify request to a single number?
- How many times can a user enter a PIN code?
- Why was a Verify SMS not sent to my number?
- Why is my Verify SMS or TTS call not in the primary language of my destination country?