🔓Authentication

SMSVerification uses API keys via the Authorization header to allow access to the API.

You can retrieve and reset your API Key at your security settings page.

SMSVerification expects for the API key to be included in all API requests to the server in a header that looks like the following:

Authorization: testinga99d930a8a080314bd4c5563737e131

All requests must be made over HTTPS.

Authenticate using PHP

If you use our PHP Library, you may authenticate like this:

$api = new \SMSVerification\SMSVerification("testinga99d930a8a080314bd4c5563737e131");

Last updated