---
title: "Get all connected Salesforce organizations"
method: GET
path: "/api/v2/integration/salesforce-incidents/organizations"
tags: ["Salesforce Integration"]
---

# Get all connected Salesforce organizations

`GET /api/v2/integration/salesforce-incidents/organizations`

Get all Salesforce organizations connected to your Datadog organization
through the Salesforce integration. Salesforce organizations are connected
through the OAuth setup flow in the Datadog Salesforce integration page.

## Response `200`

OK

- SalesforceIncidentsOrganizationsResponse — Response containing a list of Salesforce organizations connected to the Datadog Salesforce integration.
  - `data` SalesforceIncidentsOrganizationResponseData[], required — An array of Salesforce organizations.
    - `attributes` SalesforceIncidentsOrganizationResponseAttributes, required — Attributes of a Salesforce organization connected to the Datadog Salesforce integration.
      - `instance_url` string — The Salesforce instance URL used to call this organization's APIs.
      - `name` string — Human-readable name of the Salesforce organization.
      - `sfdc_org_id` string — The Salesforce organization identifier (15- or 18-character Salesforce org ID).
      - `sfdc_org_type` string — The Salesforce organization type (for example, `Production` or `Sandbox`).
    - `id` string, required — The Datadog-assigned ID of the connected Salesforce organization.
    - `type` 'salesforce-incidents-org', required — Salesforce organization resource type.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
