public function testGetByProfileId()
 {
     $client = new NextCallerPlatformClient(null, null, true);
     $profile = $client->getByProfileId(self::PROFILE_ID, self::PLATFORM_ACCOUNT_ID);
     $this->assertEquals($profile, json_decode(self::JSON_RESPONSE, true));
 }
<?php

require __DIR__ . '/vendor/autoload.php';
use NextCaller\NextCallerPlatformClient;
$user = "";
$password = "";
$id = 'e79ba4dab9cdd3da41c95efd734ec5b';
$accountId = 'user1';
$sandbox = true;
$client = new NextCallerPlatformClient($user, $password, $sandbox);
try {
    $profile = $client->getByProfileId($id, $accountId);
    /*
    array(
        'id' => 'e79ba4dab9cdd3da41c95ef734ec5b',
        'first_name' => 'Miguel',
        'middle_name' => '',
        'last_name' => 'Meneses',
        'name' => 'Miguel Meneses',
        'language' => 'English',
        'phone' => array(
            array(
                'number' => '6925558386',
                'resource_uri' => '/v2/records/6925558386/',
            )
        ),
    
        'carrier' => 'AT & T',
        'address' => array(
            array(
                'city' => 'Winnetka',