---
title: "Get member context for an engagement"
method: GET
path: "/api/v1/engagements/{engagement_id}/context"
tags: ["Engagements"]
---

# Get member context for an engagement

`GET /api/v1/engagements/{engagement_id}/context`

## Request

- Base URL: `https://api.cloverhealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cloverhealth.com/api/v1/engagements/{engagement_id}/context`
- Auth: API key in header `X-MC2-Signature`

Requires scope: engagement:context

All callers with the base scope receive `member_verified`, `intent`,
`category`, and `mx_agent` alongside the other basic identifying fields.
Callers additionally granted `engagement:context:full` (internal Clover
systems only) also receive `master_record_id`, `support_team`,
`member_preferred_buddy`, `member_preferred_buddy_worker_sid`,
`member_preferred_buddy_matched`, `lh_balance` (the flag the IVR sets when a member presses 1
for Livehealthy rewards), and the Engagement's full `metadata` blob. External callers without that scope
never see those keys, regardless of their values.

`member_preferred_buddy_worker_sid` is the TaskRouter Worker for a buddy
the member asked for by name on a Flora call — offer the call to that
Worker first, then fall through to `support_team`. Null when no buddy was
asked for, or the name matched nobody or more than one person.
`member_preferred_buddy_matched` names who it matched and how, e.g.
"Anthony Vargas (nickname)" for a member who asked for "Tony".

`mx_agent` is a flat boolean written by the Twilio IVR via
`PATCH /{engagement_id}/context/metadata` (`metadata["mx_agent"]`); it is
null until the IVR has populated it.

`member_verified`/`intent`/`category` are read from the call disposition
written by MX agent voice calls (`metadata["disposition"]`, see
`disposition_service`). SMS/text engagements only ever write flat
`metadata["member_verified"]`/`metadata["intent"]`/`metadata["category"]`
(no `support_team`), so those three fall back to the flat keys when no
disposition blob exists.

Note: engagement_id is an opaque UUID, safe as a path parameter. Member
PHI (name, subscriber ID, language) is returned in the body only.

## Path parameters

- `engagement_id` string, uuid, required

## Response `200`

OK

- EngagementContextResponse: Member context associated with an Engagement. All member fields are nullable — an Engagement with no linked or resolvable member still returns 200 with those fields set to null.
  - `engagement_id` string, uuid, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `subscriber_id` string, nullable
  - `preferred_language` string, nullable
  - `member_verified` boolean, nullable
  - `intent` string, nullable
  - `master_record_id` string, nullable
  - `support_team` string, nullable
  - `category` string, nullable
  - `mx_agent` boolean, nullable
  - `lh_balance` boolean, nullable
  - `member_preferred_buddy` string, nullable
  - `member_preferred_buddy_worker_sid` string, nullable
  - `member_preferred_buddy_matched` string, nullable

## Other responses

- `404`: Not Found

## Changes

- **2026-10-02** `3f34144ebdf3`: 1 info
  - added the optional property `lh_balance` to the response with the `200` status
- **2026-09-30** `bf6518b9b2f5`: 1 info
  - added the optional property `member_preferred_buddy_matched` to the response with the `200` status
- **2026-09-27** `ef3e500c7d32`: 2 info
  - added the optional property `member_preferred_buddy` to the response with the `200` status
  - added the optional property `member_preferred_buddy_worker_sid` to the response with the `200` status
- **2026-09-18** `5202b34abf64`: 1 info
  - added the optional property `mx_agent` to the response with the `200` status
- **2026-09-10** `c89d05848d30`: 2 info
  - the endpoint scheme security `SignedRequestAuth` was added to the API
  - the endpoint scheme security `JWTScopeAuth` was removed from the API

[Operation history](https://skmtc.dev/cloverhealth/apis/clover-api/changes/api/v1/engagements/:engagement_id/context/get.md)

---

[API](https://skmtc.dev/cloverhealth/apis/clover-api.md) - [All operations](https://skmtc.dev/cloverhealth/apis/clover-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloverhealth/apis/clover-api/revisions/824d541751f2?raw)
