How To Set Up Language in Verify API using PHP How To Set Up Language in Verify API using PHP

How To Set Up Language in Verify API using PHP

Yati Rodiati

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.