Account Object

Use the account resource to learn about the current user’s Account Engagement instance, such as the address, website URL, and account level. Learn more about accounts in Salesforce Help.

Include the authentication header with every request. For information on how to authenticate, see Authentication.

Note

Account Resources 

Resource NameOperationDescription
Account ReadGETRequest information about the Account Engagement instance for the current user.

Account Read 

Request information about the Account Engagement instance for the current user.

URI 

1/api/account/version/4/do/read/

Example 

Request information about the Account Engagement instance for the current user.

1/api/account/version/4/do/read/

XML Response 

1<rsp stat="ok" version="1.0">
2    <account>
3        <id>7298</id>
4        <company>Company Name</company>
5        <level>Pardot Account Level</level>
6        <website>http://www.company-website.com</website>
7        <vanity_domain>http://go.localhost.com</vanity_domain>
8        <plugin_campaign_id>1</plugin_campaign_id>
9        <tracking_code_template>[... Tracking code template ...]</tracking_code_template>
10        <address1>1234 Any Street</address1>
11        <address2>Suite 9876</address2>
12        <city>Atlanta</city>
13        <state>Georgia</state>
14        <territory/>
15        <zip>303</zip>
16        <country>United States</country>
17        <phone>555-555-1234</phone>
18        <fax/>
19        <created_at>2008-03-26 09:42:51</created_at>
20        <updated_at>2016-11-10 15:06:33</updated_at>
21    </account>
22</rsp>
TagDescription
<account>Parent tag. Contains information about the current user’s Account Engagement instance. For more information about account fields, see Account.