# InteractionVoteYesRequest

A person's vote for what the agents are waiting on: an agent's vote proposal or its proposed final answer.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `messageAuthorName` | `string \| null` |  | The name to record as the voter. Used only when you call with an API key, so an integration can vote for the people it serves; with a signed-in session the vote is always recorded as you. Left out, an API-key call is recorded as the key's user. Constraints: maxLength: 250. |
| `messageAuthorId` | `uuid` |  | The voter's id, used with `messageAuthorName` under the same rule. |

## Example

```json
{
  "messageAuthorName": "...",
  "messageAuthorId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
}
```

## Where it's used

- [`interactionRuns.voteYes`](https://docs.maitento.com/reference/api/interaction-runs.md) (`POST /interactions/processes/by-id/{id}/vote/yes`)
