Closed Ok9xNirab closed 3 years ago
Hi @Ok9xNirab The credentials are validated automatically when you create a client instance. What exactly is your use case?
Hi @Ok9xNirab The credentials are validated automatically when you create a client instance. What exactly is your use case?
I'm making a wordpress plugin . So, I want to validate Twilio credentials before saved !!
I already do it by Guzzle-http . Here is my code : https://github.com/springdevs/SMS/blob/c309731b8b09479fb1cb71638a856b1f70075cf2/includes/Admin/Forms.php#L27
Thanks.
Maybe try the verify api?
Maybe try the verify api?
Yes . validate account sid & token , before saved !!
I didn't see any methods to validate credentials !!