APIs & Integrations

fernando2
Mitglied

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

<?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);
 
}
0 Upvotes
1 Antwort
lscanlan
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

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

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
0 Upvotes