> For the complete documentation index, see [llms.txt](https://help.pickzen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickzen.com/developers/rest-api/responses.md).

# Responses resource

The PickZen API lets you do the following with the Responses resource.

## Responses

<mark style="color:blue;">`GET`</mark> `https://admin.pickzen.com/api/responses` &#x20;

Retrieve all user responses.

#### Query Parameters

| Name             | Type    | Description                                                                        |
| ---------------- | ------- | ---------------------------------------------------------------------------------- |
| assistant        | string  | Assistant code.                                                                    |
| useId            | string  | User session execution ID.                                                         |
| limit            | integer | The maximum number of results to show on a page. (default: 50, maximum: 250)       |
| since\_id        | integer | Show results after the specified ID. It is used to paginate results.               |
| created\_at\_min | string  | <p>Show results created at or after date.<br>(format: 2019-04-25T16:15-06:00).</p> |
| created\_at\_max | string  | <p>Show results created at or before date.<br>(format: 2019-04-25T16:15-04:00</p>  |

#### Headers

| Name                   | Type   | Description       |
| ---------------------- | ------ | ----------------- |
| X-Pickzen-Access-Token | string | API access token. |

{% tabs %}
{% tab title="200 List with all paginated responses." %}

```
{
	"responses": [{
		"id": 8883,
		"useId": "340618-1582212315724-1582212808390",
		"date": "2019-11-05T07:50:11Z",
		"slides": [{
			"type": "info",
			"title": "What do you prefer?",
			"slideId": 100,
			"options": [{
				"id": 101,
				"title": "I prefer flat"
			}]
		}, {
			"type": "form",
			"title": "Enter your contact information",
			"slideId": 101,
			"fields": [{
				"id": 1,
				"response": "anna@mystore.com",
				"title": "E-mail",
				"type": "email"
			}, {
				"id": 2,
				"response": "Anna",
				"title": "Name",
				"type": "fname"
			}]
		}]
	}, {
		"id": 8918,
		"useId": "340618-1582212315724-1582212808390",
		"date": "2019-11-05T08:12:10Z",
		"slides": [{
			"type": "info",
			"title": "What do you prefer?",
			"slideId": 100,
			"options": [{
				"id": 100,
				"title": "I prefer heel"
			}]
		}, {
			"type": "form",
			"title": "Enter your contact information",
			"slideId": 101,
			"fields": [{
				"id": 1,
				"response": "anna@mystore.com",
				"title": "E-mail",
				"type": "email"
			}, {
				"id": 2,
				"response": "Anna",
				"title": "Name",
				"type": "fname"
			}]
		}]
	}]
}
```

{% endtab %}
{% endtabs %}

<mark style="color:blue;">`GET`</mark> `https://admin.pickzen.com/api/responses` &#x20;

#### Query Parameters

| Name  | Type   | Description       |
| ----- | ------ | ----------------- |
| token | string | API access token. |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

<mark style="color:blue;">`GET`</mark> `https://admin.pickzen.com/api/responses` &#x20;

#### Query Parameters

| Name  | Type   | Description       |
| ----- | ------ | ----------------- |
| token | string | API access token. |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

As there is a maximum limit of 250 results per page, in order to retrieve the next page you will need to make additional requests using the last *since\_id* parameter retrieved. This way, the query will return the results after this last id.

{% hint style="danger" %}
This endpoint is supposed to be called using the *createdAtMin* and/or *since\_id* parameter so only new entries from the last batched load are returned avoiding fetching all entries over and over.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.pickzen.com/developers/rest-api/responses.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
