diff --git a/src/Client.php b/src/Client.php index 169b58d..fde8f54 100644 --- a/src/Client.php +++ b/src/Client.php @@ -81,7 +81,7 @@ class Client * Default API root URL * string */ - const API_ROOT = 'https://api.linkedin.com/v2/'; + const API_ROOT = 'https://api.linkedin.com/rest/'; /** * API Root URL @@ -131,6 +131,7 @@ public function setUseTokenParam($useTokenParam) protected $apiHeaders = [ 'Content-Type' => 'application/json', 'x-li-format' => 'json', + 'LinkedIn-Version' => '202208', ]; /**