{{ $detail->application->name }}

{{ $detail->application->code }} · {{ $detail->application->status }}

Authentication header Authorization: Bearer <API_TOKEN>
@if ($detail->canManageApplication)
@csrf @method('PUT')
@csrf @method('PATCH')
@endif

Allowed Sender IDs

Add only Sender IDs already approved by your messaging provider. Every message request must include sender_id.

Sender ID values are immutable after creation. Historical and already accepted messages are never rewritten.

Sender IDs are case-sensitive. Each request must use the exact value approved by YAS and assigned to this application.

@php $senderExample = json_encode([ 'recipient' => '+255712345678', 'message' => 'Test message', 'sender_id' => '', ], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR); @endphp
{{ $senderExample }}
@if ($detail->canManageApplication)
@csrf
@foreach ($detail->senderIds as $senderId) @endforeach @endif

API credentials

Only prefixes and lifecycle metadata remain available after issuance.

@if (! $detail->canViewCredentials)
Credential metadata unavailable for your role.
@elseif ($detail->credentials === [])
No credentials.

Create the first API key for this application.

@else
@foreach ($detail->credentials as $credential) @endforeach
Name Prefix Status Created Expires Last used Revoked Actions
{{ $credential->name }} {{ $credential->prefix }} {{ $credential->status }} {{ $credential->createdAt }} {{ $credential->expiresAt ?? 'Never' }} {{ $credential->lastUsedAt ?? 'Never' }} {{ $credential->revokedAt ?? '—' }} @if ($credential->canRotate)
@csrf
@endif @if ($credential->canRevoke)
@csrf
@endif
@endif @if ($detail->canCreateCredentials)

Create API key

@csrf @error('credential') @enderror
@endif