Como pegar apenas email, usuário, telefone e nome na api?

Highlighted
New Contributor
<?php

require 'vendor/autoload.php';

use SevenShores\Hubspot\Http\Client;
use SevenShores\Hubspot\Resources\Contacts;

$client = new Client(['key' => 'REDACTED']);

$contacts = new Contacts($client);

$response = $contacts->all();

foreach ($response->contacts as $contact) {
var_dump ($contact);
 
}
Reply
0 Upvotes
1 Reply 1
HubSpot Moderator

Hi @fernando2,

 

I think this is a duplicate of https://community.hubspot.com/t5/APIs-Integrations/i-want-to-capth-name-email-in-code-how-I-do/m-p/2.... Thanks for switching over to English. I'll reply to you there.

Leland Scanlan

HubSpot Developer Support
Reply
0 Upvotes