# ApifyResponse<!-- --> \<T>

A response as [HttpClient.call](https://docs.apify.com/api/client/js/reference/class/HttpClient.md#call) resolves to it: a success, or an error response when the request sets [ApifyRequestConfig.throwOnErrorStatus](https://docs.apify.com/api/client/js/reference/interface/ApifyRequestConfig.md#throwOnErrorStatus) to `false`.

## Index[](#Index)

### Properties

* [config](#config)
* [data](#data)
* [headers](#headers)
* [status](#status)

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

### [](#config)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/http_clients/base.ts#L214)config

config: [ApifyRequestConfig](https://docs.apify.com/api/client/js/reference/interface/ApifyRequestConfig.md)

The request this response answers, as it was passed to [HttpClient.call](https://docs.apify.com/api/client/js/reference/class/HttpClient.md#call).

### [](#data)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/http_clients/base.ts#L212)data

data: T

The response body, decoded according to the request's [ApifyRequestConfig.responseType](https://docs.apify.com/api/client/js/reference/interface/ApifyRequestConfig.md#responseType).

### [](#headers)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/http_clients/base.ts#L210)headers

headers: [HttpResponseHeaders](https://docs.apify.com/api/client/js/reference.md#HttpResponseHeaders)

Response headers keyed by lowercase header name.

### [](#status)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/http_clients/base.ts#L208)status

status: number

HTTP status code.
