You are here

public function SendinblueApiV2::getAccessTokens in SendinBlue 7.2

Get the access token.

Return value

string An access token information.

Overrides SendInBlueApiInterface::getAccessTokens

File

includes/Api/SendinblueApiV2.php, line 244

Class

SendinblueApiV2
Sendinblue REST client.

Code

public function getAccessTokens() {
  return $this->sIBHttpClient
    ->get("account/token", "")['data']['access_token'];
}