---
title: "Object check"
url: "https://help.internetx.com/en/api/core-object-check/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks"
updated: "2023-09-18"
---

# Object check

## Function

The _ObjectCheck_ task checks whether the logged-in user has the necessary privileges to access a certain object, i.e. a certain domain, zone, etc.

## Description

-   [**XML**](#87031 "XML")

Task code:1309  
Uses [Object](/en/api/core-objects-or-object-object/) object

```
<request>
    <auth>
        <user>customer</user>
        <password>password</password>
        <context>4</context>
    </auth>
    <task>
        <code>1309</code>
        <object>
            <type>domain</type>
            <name>example.com</name>
        </object>
    </task>
</request>
```

```
<response>
	<result>
		<data>
			<object>
				<type>domain</type>
				<name>example.com</name>
			</object>
			<object>
				<type>domain</type>
				<name>example.com</name>
			</object>
		</data>
		<status>
			<code>S1309</code>
			<text>The objects were checked successfully.</text>
			<type>success</type>
		</status>
	</result>
	<stid>20230405-app2-dev-65078</stid>
</response>
```
