Messages / {{ $contact->name }}
{{-- Header --}}
Back to messages
{{ $contact->name }}
{{ $contact->phone ?? 'No phone on file' }}
{{-- Thread --}}
@forelse ($messages as $message) @php $isOut = $message->direction === 'outbound'; $isWA = $message->channel === 'whatsapp'; @endphp
$isOut && !$isWA, 'bg-success text-success-foreground' => $isOut && $isWA, 'bg-muted text-foreground' => !$isOut, ])> {{ $message->body }}
@if ($isWA) WhatsApp · @endif {{ $message->sent_at?->format('M j, g:i a') }} @if ($isOut) · {{ $message->status }} @endif
@empty

No messages yet — send the first one below.

@endforelse
{{-- Composer --}}
@csrf {{ old('body') }}
{{-- AI assist --}}
@foreach (['English', 'Spanish', 'French', 'German', 'Italian', 'Portuguese', 'Chinese', 'Japanese', 'Arabic'] as $lang) @endforeach
Working… Send
@error('body')

{{ $message }}

@enderror
Webhook URL for Twilio inbound: {{ route('webhooks.twilio.sms') }}