> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getedulead.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getedulead.com/_mcp/server.

# ListIntegrations

GET https://api.getedulead.com/v4/integrations

ListIntegrations returns both integrations, connected or not.

Reference: https://docs.getedulead.com/api-reference/integrations/list

## Authentication

- `Authorization` header (bearer token, required) — A team API key, sent as `Authorization: Bearer <key>`.
- `Authorization` header (bearer token, required) — The Cognito access token of a signed-in Edulead user (`edulead auth login`), sent as `Authorization: Bearer <token>`.

## Request

### Query parameters

- `filter.connected` (boolean, optional) — Only connected (true) or not connected (false) integrations; unset means both.
- `page_size` (integer, optional) — Number of items per page, at most the maximum shown. Omitted or 0 means the RPC's default page size.
- `page_token` (string, optional) — Opaque token from a previous response; empty for the first page.
- `order_by` (enum, optional) — Sort order: a sortable field name, optionally followed by " desc". The allowed values are listed.
  - Allowed values: ``, `id`

## Response

### 200

Success

- `items` (list of edulead.v4.Integration, optional) — The page of results, in the requested order.
- `next_page_token` (string, optional) — Token for the next page; empty when this is the last page.

## Types

### edulead.v4.Integration

Integration is one CRM and the team's connection to it; id is `hubspot` or `salesforce`. Only app_installed and the two mapping lists can change; the service sets the others.

- `id` (string, optional) — Identifier of the resource, assigned by Edulead and opaque to callers.
- `connected` (boolean, optional) — Whether the team has connected the CRM.
- `account_id` (string, optional) — The connected account: the HubSpot portal id, the Salesforce organization id.
- `instance_url` (string, optional) — The Salesforce organization's base URL; empty for HubSpot.
- `scopes` (list of string, optional) — The OAuth scopes the CRM granted.
- `connect_time` (datetime, optional) — When the CRM was connected.
- `app_installed` (boolean, optional) — Salesforce: whether the Edulead package is installed in the organization; always false for HubSpot.
- `contact_field_mappings` (list of edulead.v4.IntegrationFieldMapping, optional) — How Edulead's contact fields map to the CRM's contact fields. contact_field_mappings.unique // each edulead_field may be mapped once
- `institution_field_mappings` (list of edulead.v4.IntegrationFieldMapping, optional) — How Edulead's institution fields map to the CRM's company (HubSpot) or account (Salesforce) fields. institution_field_mappings.unique // each edulead_field may be mapped once
- `field_mappings_configured` (boolean, optional) — Whether every field an export to the CRM requires is mapped.
- `missing_required_fields` (list of edulead.v4.IntegrationField, optional) — The required fields that are not mapped yet, contacts first.
- `update_time` (datetime, optional) — When any field last changed.

### edulead.v4.IntegrationFieldMapping

IntegrationFieldMapping maps one Edulead field to a CRM field.

- `edulead_field` (string, optional) — The Edulead field, as the field list names it (`email`, `ncesIdDistrict`).
- `crm_field` (string, optional) — The CRM field's API name.

### edulead.v4.IntegrationField

IntegrationField is one Edulead field an export to the CRM requires.

- `object_type` (enum, optional) — enum.defined_only = true
  - Allowed values: `INTEGRATION_OBJECT_TYPE_UNSPECIFIED`, `INTEGRATION_OBJECT_TYPE_CONTACT`, `INTEGRATION_OBJECT_TYPE_INSTITUTION`
- `edulead_field` (string, optional)
- `label` (string, optional) — How the console labels it (`District NCES ID`).

## Examples

**Response**

```json
{
  "items": [
    {
      "id": "string",
      "connected": true,
      "account_id": "string",
      "instance_url": "string",
      "scopes": [
        "string"
      ],
      "connect_time": "2023-01-15T01:30:15.01Z",
      "app_installed": true,
      "contact_field_mappings": [
        {
          "edulead_field": "string",
          "crm_field": "string"
        }
      ],
      "institution_field_mappings": [
        {
          "edulead_field": "string",
          "crm_field": "string"
        }
      ],
      "field_mappings_configured": true,
      "missing_required_fields": [
        {
          "object_type": "INTEGRATION_OBJECT_TYPE_UNSPECIFIED",
          "edulead_field": "string",
          "label": "string"
        }
      ],
      "update_time": "2023-01-15T01:30:15.01Z"
    }
  ],
  "next_page_token": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.getedulead.com/v4/integrations"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.getedulead.com/v4/integrations';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.getedulead.com/v4/integrations"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.getedulead.com/v4/integrations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.getedulead.com/v4/integrations")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.getedulead.com/v4/integrations', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.getedulead.com/v4/integrations");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.getedulead.com/v4/integrations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```