Skip to content

Directory Records

Directory record endpoints expose cached, materialized user and group entries for participant association. They do not search upstream CSV, LDAP, or Entra connectors live.

The Platform admin participant picker can browse supported connectors live, such as CSV and Microsoft Entra ID. These REST endpoints intentionally remain cache-only so API callers search the same materialized records used by Resolve and MCP.

MethodPathRequired scope
GET/api/v1/directory-recordsapi:participants:read
GET/api/v1/participants/:id/membersapi:participants:read
POST/api/v1/participants/:id/membersapi:participants:write
DELETE/api/v1/participants/:id/members/:directory_entry_idapi:participants:write
Terminal window
curl "https://roster.example.com/api/v1/directory-records?type=user&query=ethan&limit=10" \
-H "Authorization: Bearer ${ROSTER_API_KEY}"

type accepts all, user, or group. query matches cached directory record id, display name, email, and description. limit accepts values from 1 to 100.

Terminal window
curl "https://roster.example.com/api/v1/participants/part_123/members?type=user&query=ethan&limit=10" \
-H "Authorization: Bearer ${ROSTER_API_KEY}"

Participant member listing returns direct directory users and groups associated with one participant. type accepts all, user, or group; query matches direct member id, display name, email, type, and description; limit accepts values from 1 to 100.

Terminal window
curl -X POST "https://roster.example.com/api/v1/participants/part_123/members" \
-H "Authorization: Bearer ${ROSTER_API_KEY}" \
-H "Content-Type: application/json" \
-d '{ "directory_entry_id": "drec_123" }'