{{-- New token banner — shown once after creation --}} @if ($newTokenPlaintext)

Token created: {{ $newTokenName }}

Copy this token now — it will not be shown again.

{{ $newTokenPlaintext }}
@endif {{-- Token table --}} {{ $this->table }} {{-- Usage docs --}} How to use the API

Pass your token as a Bearer header on every request:

Authorization: Bearer <your_token>
Accept: application/json

Endpoints

Method Endpoint Description
GET /api/v1/calls Paginated call list
GET /api/v1/calls/{id} Single call detail
GET /api/v1/stats Aggregated stats

Calls filters

GET /api/v1/calls?company_id=1&date_from=2026-01-01&date_to=2026-05-01&status=completed&per_page=100

Stats filters

GET /api/v1/stats?company_id=1&date_from=2026-01-01&date_to=2026-05-01