How can I get a list of contact fields using the API? [closed]

My developer wants to know how to get a list of all the fields in my account, including my custom fields, using the API.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Frank
close date 2016-12-05 09:02:55.980980

1 answer

Sort by ยป oldest newest most voted

ONTRAPORT has interactive API documentation at https://api.ontraport.com/doc. Provide your developer with an API Key and APP ID and point him to that link. To create an API Key and APP ID follow the instructions at http://support.ontraport.com/entries/26365645-API-in-ONTRAPORT.

The developer will add the API Key and APP ID into the appropriate fields at the top right of https://api.ontraport.com/doc. The fields will be outlined in green when the API is connected.

Scroll down to GET /objects/meta. In the objectID field enter 0 (zero). Click the Try it out! button.

image description

The response will be a listing of all Contact Record fields, including the custom fields in that account. The Request URL (endpoint) will also be provided for use in his application. (Note that this URL, by itself, cannot access your account as it does not include the APP ID and API Key; it must be used in combination with the code your developer will write).

Code samples are provided at https://github.com/Ontraport/ontra_api_examples

edit flag offensive delete publish link more

Question Tools

1 follower


Asked: 2016-03-30 06:51:49 -0700

Seen: 62 times

Last updated: Mar 30 '16