Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../unicodeveloper/../league/../spatie/../vonage/../authorizenet/./../phenx/../composer/../nesbot/../plivo/../../.git/objects/5c/../67/../db/../97/./../a5/../41/../95/./../f2/../b1/../27/../03/../97/.././fd/./../d4/../e7/../8b/../b3/../11/../76/../ed/../63/../c7/../c6/../ae/./.././70/../47/../14/../da/../34/../info/./../3a/../34/../5d/../02/../43/../2d/../10/../8f/../8c/../2c/../0c/../00/../a3/../91/../6c/../5c/../46/../c8/../ca/../38/../b6/../57/../36/../d1/../05/../c6/../fb/../cc/../c7/../b8/../27/../79/../b6/.././ba/../7d/../e1/.././8c/./../33/../7f/../83/../6d/../86/../35/../../../routes
الملفات الموجودة في هذا الـ Path:
.
..
api.php
channels.php
console.php
web.php
web.php.save

مشاهدة ملف: api.php

<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::get('/contact/details', ['uses' => 'Api\ContactController@numberDetails', 'as' => 'contact.details']);

Route::group(['middleware' => ['auth:sanctum']], function () {
    Route::get('/inbox/list', ['uses' => 'Api\MessageController@inbox', 'as' => 'inbox.list']);
    Route::get('/sent/list', ['uses' => 'Api\MessageController@sent', 'as' => 'sent.list']);

//    group list
    Route::get('/group/list', ['uses' => 'Api\GroupController@index', 'as' => 'group.list']);
    Route::get('/group/contact/list', ['uses' => 'Api\GroupController@groupContact', 'as' => 'group.contact.list']);

    //Check Balance
    Route::get('/check/balance', ['uses' => 'Api\CustomerController@checkBalance', 'as' => 'check.balance']);
});

//    Sender Ids
Route::get('/sender-id', ['uses' => 'Api\ComposeController@getSenderIds', 'as' => 'sender.id']);
//    Customer Number
Route::get('/customer/number', ['uses' => 'Api\CustomerNumberController@index', 'as' => 'customer.number']);

//Contact List
Route::get('/contacts', ['uses' => 'Api\ContactController@contactList', 'as' => 'customer.contacts']);

//    SMS Template
Route::get('/sms/template', ['uses' => 'Api\SMSTemplateController@index', 'as' => 'sms.template']);
Route::get('/sms/template/details', ['uses' => 'Api\SMSTemplateController@details', 'as' => 'sms.template.details']);
//Campaign
Route::get('/campaign/list', ['uses' => 'Api\CampaignController@index', 'as' => 'campaign.list']);
Route::any('/campaign/store', ['uses' => 'Api\CampaignController@store', 'as' => 'campaign.store']);
Route::get('/campaign/statistic/{id}', ['uses' => 'Api\CampaignController@statistic', 'as' => 'campaign.statistic']);

//    Compose
Route::any('/sent/compose', ['uses' => 'Api\ComposeController@sentCompose', 'as' => 'sent.compose']);




//For OTP Message
Route::get('/otp/message', ['uses' => 'Api\OtpController@sendOtp', 'as' => 'otp.message']);