# RequestQueueClientRequestToAdd<!-- -->

A request as the caller submits it to the queue.

The API assigns the id, so it is dropped. The unique key and the URL the caller has to supply come required from [RequestResource](https://docs.apify.com/api/client/js/reference/interface/RequestResource.md).

### Hierarchy

* Omit<[RequestResource](https://docs.apify.com/api/client/js/reference/interface/RequestResource.md), id>
  * *RequestQueueClientRequestToAdd*

## Index[](#Index)

### Properties

* [errorMessages](#errorMessages)
* [handledAt](#handledAt)
* [headers](#headers)
* [loadedUrl](#loadedUrl)
* [lockByClient](#lockByClient)
* [lockExpiresAt](#lockExpiresAt)
* [method](#method)
* [noRetry](#noRetry)
* [payload](#payload)
* [retryCount](#retryCount)
* [uniqueKey](#uniqueKey)
* [url](#url)
* [userData](#userData)

## Properties<!-- -->[](#Properties)

### [](#errorMessages)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7634)optionalinheritederrorMessages

errorMessages?

<!-- -->

: null | string\[]

Inherited from Omit.errorMessages

```
null
```

Error messages recorded from failed processing attempts.

### [](#handledAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7640)optionalinheritedhandledAt

handledAt?

<!-- -->

: null | Date

Inherited from Omit.handledAt

Format: date-time

```
2019-06-16T10:23:31.607Z
```

The timestamp when the request was marked as handled, if applicable.

### [](#headers)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7623)optionalinheritedheaders

headers?

<!-- -->

: null | Record\<string, unknown>

Inherited from Omit.headers

```
null
```

HTTP headers sent with the request.

### [](#loadedUrl)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7613)optionalinheritedloadedUrl

loadedUrl?

<!-- -->

: null | string

Inherited from Omit.loadedUrl

```
https://apify.com/jobs
```

The final URL that was loaded, after redirects (if any).

### [](#lockByClient)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7666)optionalinheritedlockByClient

lockByClient?

<!-- -->

: string

Inherited from Omit.lockByClient

```
my-client-key
```

Key of the client that last locked the request. It is set when the request is locked and removed only by an explicit unlock or by an update of the request, so it can still be present after the lock has expired.

### [](#lockExpiresAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7660)optionalinheritedlockExpiresAt

lockExpiresAt?

<!-- -->

: Date

Inherited from Omit.lockExpiresAt

The timestamp when the lock on this request expires. Only present while the request is locked.

### [](#method)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7607)optionalinheritedmethod

method?

<!-- -->

: GET | HEAD | POST | PUT | DELETE | CONNECT | OPTIONS | TRACE | PATCH

Inherited from Omit.method

### [](#noRetry)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7629)optionalinheritednoRetry

noRetry?

<!-- -->

: null | boolean

Inherited from Omit.noRetry

```
false
```

Indicates whether the request should not be retried if processing fails.

### [](#payload)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7618)optionalinheritedpayload

payload?

<!-- -->

: null | string | Record\<string, unknown>

Inherited from Omit.payload

```
null
```

The request payload, typically used with POST or PUT requests.

### [](#retryCount)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7608)optionalinheritedretryCount

retryCount?

<!-- -->

: number

Inherited from Omit.retryCount

### [](#uniqueKey)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7605)inheriteduniqueKey

uniqueKey: string

Inherited from Omit.uniqueKey

### [](#url)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7606)inheritedurl

url: string

Inherited from Omit.url

### [](#userData)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7624)optionalinheriteduserData

userData?

<!-- -->

:

<!-- -->

{}

Inherited from Omit.userData

#### Type declaration

