# Medallia

> Medallia: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads the Experience Programs, field definitions and survey responses of a Medallia Experience Cloud instance, so customer agents can answer what customers said and how they scored. From each response it reads only the fields you name.

Built against the Medallia Query API v0 (GraphQL: programs, fields, feedback).

## At a glance

| Collector                   | Medallia, version `0.1.0`                                                                                                                                                                     |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Medallia: Medallia Experience Cloud (Experience Programs, fields, survey responses) ([the vendor's documentation](https://developer.medallia.com/medallia-apis/reference/query-api-overview)) |
| Family                      | CRM                                                                                                                                                                                           |
| Kind                        | Customer feedback                                                                                                                                                                             |
| Ways to connect             | OAuth approval                                                                                                                                                                                |
| Scopes                      | - Read: `OAuth API client (client credentials) whose data access role has the Query API capability`, `limited to the programs and fields read`                                                |
| Read only                   | Yes, except: \[object Object]; \[object Object]                                                                                                                                               |
| Vendor's API can move money | No                                                                                                                                                                                            |
| Personal data               | Contact, Identity, Content                                                                                                                                                                    |
| Hosts it may contact        | `*.apis.medallia.com`, `*.medallia.com`                                                                                                                                                       |
| Vendor API versions         | Medallia Query API v0 (GraphQL: programs, fields, feedback), Medallia OAuth 2.0 client-credentials token endpoint                                                                             |
| Lowest engine version       | `0.47.1`                                                                                                                                                                                      |

## What it reads

- Experience Programs: name, description, status, type, response count and creation. A program that has gone is withdrawn.
- Fields: id, name, description, data type and whether a field holds several values. Field names label the values in each response.
- Survey responses (completed feedback records): the values and labels of the fields named in `field_ids`, such as the response date, a likelihood-to-recommend score and a comment. The first read looks back seven days by the response date; later reads start a day before the newest date seen.
- Never read: fields you do not name, invitations that were not completed, CX Profiles, aggregates, text-analytics themes, and anything that changes the instance.

## How to connect

1. Ask Medallia (or your Medallia administrator) for an OAuth API client for the production instance, with a role whose data access has the **Query API** capability and sees only the programs and fields to read. Medallia gives the client id and secret, the API Gateway host and the token endpoint.
2. Decide the fields to read from each response: open the program’s fields (the collector’s `fields` kind lists them) and choose the date, the scores and the comments you need. Leave out names, email addresses and phone numbers unless the agents need them.
3. In LightHouse, open **Connectors**, choose **Medallia**, give the API Gateway host (`<instance>-<tenant>.apis.medallia.com`), the reporting host (`<instance>.medallia.com`), the tenant (the name in `/oauth/<tenant>/token`), the field ids, a label and how often to read, and paste the client id and secret.
4. In code, give the deployment the client id as `MEDALLIA_CLIENT_ID` and the secret as `MEDALLIA_CLIENT_SECRET` from your secret store, and add a `kind: medallia` source card with `api_host`, `reporting_host`, `tenant`, `field_ids`, `label` and `requires`. `date_field`, `lookback_days`, `text_chars` and `kinds` change what is read.

## Permissions

An OAuth API client whose data access role has the Query API capability, limited to what is read. The collector sends two kinds of request, both `POST` and both reads: the client-credentials token request to the reporting instance, and GraphQL queries (never mutations) to `/data/v0/query`. Its read-only test proves it on every change.

## Limits

- The API host must be on `apis.medallia.com` and the reporting host on `medallia.com`; anything else is refused, and a redirect is refused.
- Every instance has its own schema: field ids are the instance’s, so `field_ids` is required, and a field id the instance does not have fails the read with the Query API’s message.
- Responses are filtered by `date_field` by whole days, so an incremental read re-reads the last day; the contract writer makes an unchanged response free. A pull reads at most 50 pages of 100 responses.
- Text-analytics themes are not read: the public Query API reference does not document how they are exposed.
- The Query API allows 70 requests a second; requests are paced well below that and back off when Medallia asks (`Retry-After`).

## Data handling

- Response values are copied into the deployment’s corpus under the source’s `label`, each cut to 4,000 characters. Comments are what customers wrote and can hold personal data; fields such as name, email or phone identify people, so name them in `field_ids` only where the deployment is approved to hold them.
- The client secret and the access token stay in memory and your secret store and are never written to logs or run notes; the secret is sent only to the reporting instance, the token only to the API Gateway host.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                          | What it means                                                    | What to do                                     |
| ----------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------- |
| `is not a Medallia API Gateway host`                  | `api_host` is not on `apis.medallia.com`                         | Use the host Medallia gave for the API Gateway |
| `field_ids names the fields to read`                  | No fields named for responses                                    | Name the fields, or drop the `responses` kind  |
| `credential variable 'MEDALLIA_CLIENT_ID' is not set` | The client id variable is empty                                  | Set it from your secret store                  |
| `POST ...: HTTP 401` on the token                     | The client id or secret is wrong, or for another instance        | Check the credentials for this instance        |
| `Query API: ...`                                      | The Query API refused the query, for example an unknown field id | Correct `field_ids` from the `fields` list     |
| `HTTP 403` on queries                                 | The role lacks the Query API capability                          | Ask the administrator to grant it              |
| Read succeeded, 0 written                             | Nothing new since the last read                                  | Nothing to do                                  |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                         | Method                              | Expires        |
| ---------------- | --------- | -------- | -------------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | Query API v0 (GraphQL): programs, fields, feedback | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/medallia/
