# Read who is assigned to a record, by role

Everyone working one record, grouped by role, the role's primary first — the SET behind the record's person cell. A role nobody holds is absent rather than present-and-empty, and an id that names no record on this page is a 404, never an empty set. Deals carry agent, closer, originating_agent and processing_agent; leads, submissions and merchants carry owner.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/assignments`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "owner": [
      {
        "accountId": "",
        "assignedAt": "string",
        "assignedBy": "string",
        "displayName": "string",
        "email": "string",
        "primary": true
      }
    ]
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
