# List Salesforce object fields

```http
GET /projects/{project_reference}/integrations/salesforce/objects/{object_name}/fields
```

List the fields of one Salesforce object in the org connected to a project to map or filter its data; returns every field the connected user can see, or one page when a limit or cursor is sent. Requires project.integrations.read.

## Parameters

| Name                | In    | Required | Description                                                                                           |
| ------------------- | ----- | -------- | ----------------------------------------------------------------------------------------------------- |
| `project_reference` | path  | Yes      | Project slug, UUID, or domain that identifies the project.                                            |
| `object_name`       | path  | Yes      | Salesforce object API name, for example Account.                                                      |
| `limit`             | query |          | Opt in to paged results. Omit limit and cursor to retain the complete legacy list.                    |
| `cursor`            | query |          | Opaque continuation from page\_info, at most 4096 characters. A cursor without limit reads 20 fields. |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | Visible Salesforce object field metadata.                                                                   |
| 400    | Salesforce is not connected or field discovery failed                                                       |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Project or Salesforce object not found                                                                      |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
