# GetObjectFields

This method is used to fetch all the available fields for the specific Salesforce Object.

#### Parameters:

| Method Inputs | Method Name            | GetObjectFieldsMethod                             |
| ------------- | ---------------------- | ------------------------------------------------- |
|               | Request Type           | GetObjectFields                                   |
|               | Parameters: ObjectName | <p>Salesforce Object name </p><p>e.g. Contact</p> |

<figure><img src="/files/drR4beBLOij8QRb0J7xk" alt=""><figcaption></figcaption></figure>

#### Sample Response:

```json
// Sample Response
[
{
 "aggregatable": true,
 "aiPredictionField": false,
 "autoNumber": false,
 "byteLength": 120,
 "calculated": false,
 "calculatedFormula": null,
 "cascadeDelete": false,
 "caseSensitive": false,
 "compoundFieldName": "Name",
 "controllerName": null,
 "createable": true,
 "custom": false,
 "defaultValue": null,
 "defaultValueFormula": null,
 "defaultedOnCreate": false,
 "dependentPicklist": false,
 "deprecatedAndHidden": false,
 "digits": 0,
 "displayLocationInDecimal": false,
 "encrypted": false,
 "externalId": false,
 "extraTypeInfo": "personname",
 "filterable": true,
 "filteredLookupInfo": null,
 "formulaTreatNullNumberAsZero": false,
 "groupable": true,
 "highScaleNumber": false,
 "htmlFormatted": false,
 "idLookup": false,
 "inlineHelpText": null,
 "label": "First Name",
 "length": 40,
 "mask": null,
 "maskType": null,
 "name": "FirstName",
 "nameField": false,
 "namePointing": false,
 "nillable": true,
 "permissionable": false,
 "picklistValues": [],
 "polymorphicForeignKey": false,
 "precision": 0,
 "queryByDistance": false,
 "referenceTargetField": null,
 "referenceTo": [],
 "relationshipName": null,
 "relationshipOrder": null,
 "restrictedDelete": false,
 "restrictedPicklist": false,
 "scale": 0,
 "searchPrefilterable": false,
 "soapType": "xsd:string",
 "sortable": true,
 "type": "string",
 "unique": false,
 "updateable": true,
 "writeRequiresMasterRead": false
 },
{record for another field},
{record for another field},…
]
```

Contact object has approximately 61 fields. This method will return those records, one record represents one field.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ixhello.com/ixhc/general/edit-custom-apps/methods/data-source-salesforce/getobjectfields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
