How can I get the available fields of Contact through api?

Is there any api available to get the contact fields.

1 Like

To get the Standard Contact Fields, you will have to manually enter them in your code.

To get the Custom Contact Fields, you can query the DataFormField API table (FormId = -1).

If you just want to see what’s available, see List Contacts (and click Show samples, if your browser window isn’t wide enough). You’ll see something like:

  "contacts": [
      "email_addresses": [
          "email": "string",
          "field": "EMAIL1"
      "contact_type": "string",
      "lead_source_id": 0,
      "birthday": "2017-07-11T21:37:44.991Z",
      "given_name": "string",
      "family_name": "string",

For custom fields on Contacts, see List Contact Custom Fields. Please note, you’ll need to use the TRY button if you want to see your custom fields rather than the example.

  • Comment removed by Pav *

Is there a way to get a CSV export of all of the standard field names?