Skip to content
mobile-verification / v1

Requesting Access Token via API

Last updated:

On this page

Requesting Access Token via API

Request an access token using the API.

$response = $http->post('http://your-app.com/oauth/token', [
    'grant_type'        => 'mobile',
    'client_id'         => $client_id,
    'client_secret'     => $client_secret,
    'number'            => $mobile_number,
    'country_code'      => $country_code,
    'verification_code' => $verification_code,
]);
Documentation
All packages

javaabu/mobile-verification

Source on GitHub