# ElectronicSignatureRequest

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElectronicSignatureRequest/

A structure that specifies an electronic signature request

- **Full name:** `MFiles.ElectronicSignatureRequest`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-context"></a>`context` | [`ElectronicSignatureContext`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ElectronicSignatureContext/index.md) | 1 | The electronic signature context identifier. Values: `ELECTRONIC_SIGNATURE_CONTEXT_STATE_TRANSITION` (0), `ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_COMPLETION` (1), `ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_APPROVAL` (2), `ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_REJECTION` (3). |
| <a id="f-user_id"></a>`user_id` | `int32` | 2 | The user to whom the operation applies. Relevant if the context indicates that the electronic signature is for assignment operation. |
| <a id="f-state_transition_id"></a>`state_transition_id` | `int32` | 3 | The state transition id for the electronic signature if the electronic signature was required because of a state transition (i.e. the context indicates a state transition). |
| <a id="f-obj_ver"></a>`obj_ver` | [`ObjVer`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVer/index.md) | 4 | The target object of the electronic signature. |
| <a id="f-target_object_title"></a>`target_object_title` | `string` | 5 | The title of the target object. |
| <a id="f-settings"></a>`settings` | [`ElectronicSignatureSettings`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElectronicSignatureSettings/index.md) | 6 | The electronic signature settings. |

<a id="used-in-fields"></a>

## Used in fields

- [`ServerDataPushRequestUnion.electronic_signature_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerDataPushRequestUnion/index.md#f-electronic_signature_request): Electronic signature request.
