# IRPCApplicationTaskQueue.GetLatestBroadcastMessageIdentifiers

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Server integration API](https://developer.m-files.com/APIs/gRPC-API/integration/index.md) > [Application task queue](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/index.md)

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

Badges: `Server integration API / specialized` `write` `session`

Gets the ID of the newest broadcast message of each given queue.

- **Service:** [Application task queue](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/index.md) `MFiles.IRPCApplicationTaskQueue`
- **gRPC method:** `/MFiles.IRPCApplicationTaskQueue/GetLatestBroadcastMessageIdentifiers`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-latest-broadcast-message-identifiers`
- **Request:** [`GetLatestBroadcastMessageIdentifiersRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/GetLatestBroadcastMessageIdentifiers/index.md#request)
- **Response:** [`GetLatestBroadcastMessageIdentifiersResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/GetLatestBroadcastMessageIdentifiers/index.md#response)
- **Book and level:** Server integration API, specialized
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- A consumer that starts calls this once and then passes the IDs to
  [GetNewBroadcastMessages](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/GetNewBroadcastMessages/index.md) to
  receive only messages sent after that point.
- Requires a vault session and the vault right `change_full_control_role`.

<a id="request"></a>

## Request: GetLatestBroadcastMessageIdentifiersRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `queue_id_collection[]` | repeated `string` | The IDs of the queues. |

<a id="response"></a>

## Response: GetLatestBroadcastMessageIdentifiersResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `task_id_collection[]` | repeated `string` | The IDs of the newest broadcast messages. |

<a id="related"></a>

## Related methods

- [GetNewBroadcastMessages](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/GetNewBroadcastMessages/index.md): Gets the broadcast messages of a queue that are newer than the given message ID.
