# IMQRPCResponse interface · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Response message data structure that a service replies with to handled requests.

**Signature:**

```typescript
export interface IMQRPCResponse extends JsonObject 
```
**Extends:** JsonObject

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse.data/) |  | JsonObject \| null | The value the service method returned, as JSON. |
| [error](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse.error/) |  | [IMQRPCError](https://imqueue.org/api/rpc/latest/rpc.imqrpcerror/) \| null | `null` on success, otherwise the failure descriptor. |
| [request](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse.request/) |  | [IMQRPCRequest](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest/) | The originating request, echoed back in full — method, arguments and metadata included. |
| [to](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse.to/) |  | string | Correlation identifier: the queue-assigned message id of the request this response answers. |

