---
title: "Poll confirm"
url: "https://help.internetx.com/en/api/core-poll-confirm/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks > Polling tasks"
updated: "2023-09-18"
---

# Poll confirm

## Function

With the PollConfirm job type you confirm the retrieval of a notification from the message queue.

Note that each retrieval of a notification must be confirmed with _PollConfirm_. Only then the next first message can be retrieved with Poll Info 0905.

## Description

Uses PollMessage object

Route: PUT /poll/{id}  
No body has to send with.  

```
{
}
```

```
{
	"status": {
		"code": "S0906",
		"text": "The notification was confirmed successfully.",
		"type": "SUCCESS"
	},
	"object": {
		"type": "Message",
		"value": "627787",
		"summary": 0
	}
}
```

Auftragstyp-Code: 0906  
Uses: Message object

```
<request>
    <auth>
        <user>customer</user>
        <password>password</password>
        <context>4</context>
    </auth>
    <task>
        <code>0906</code>
        <message>
            <id>1</id>
        </message>
    </task>
</request>
```

```
	<result>
		<data>
			<summary>0</summary>
			<message>
				<id>1637795</id>
			</message>
		</data>
		<status>
			<code>S0906</code>
			<text>The notification was confirmed successfully.</text>
			<type>success</type>
			<object>
				<type>message</type>
				<value>1637795</value>
			</object>
		</status>
	</result>
	<stid>20180618-app2-dev-9362</stid>
</response>
```
