Authenticated request
Send the API key in the Authorization header as a bearer token. The profile endpoint is a safe first request to verify the key and workspace context.
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_KEY')
->acceptJson()
->get('https://forgedbase.com/api/v1/profile');
$data = $response->json();