> For the complete documentation index, see [llms.txt](https://api-docs.rightsline.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.rightsline.com/config/lists/retrieve-pick-list-presets.md).

# Retrieve pick list presets

These endpoints allow you to retrieve the values of a pick list(s).

## Get all presets for a pick list by ID

<mark style="color:blue;">`GET`</mark> `https://ris.rightsline.com/v4/pick-list-preset/:listID`

Retrieve list of presets pick list by ID.

#### Path Parameters

| Name                                     | Type | Description       |
| ---------------------------------------- | ---- | ----------------- |
| listID<mark style="color:red;">\*</mark> | guid | The pick list ID. |

#### Headers

| Name                                            | Type   | Description             |
| ----------------------------------------------- | ------ | ----------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Authorization token.    |
| x-api-key<mark style="color:red;">\*</mark>     | String | Your company's API key. |

{% tabs %}
{% tab title="200: OK Returns all pick list presets." %}

```javascript
[
    {
        "id": "44452549-f014-4c71-b85f-2c49778bfall",
        "name": "My Favorite Values"
    },
    {
        "id": "99908a1b-6f50-4cae-9fe9-b31547c31234",
        "name": "Another Picklist Preset"
    }
]
```

{% endtab %}
{% endtabs %}

## Get preset details by pick list ID and preset ID

<mark style="color:blue;">`GET`</mark>`https://ris.rightsline.com/v4/pick-list-preset/:listID/:presetID`

`Retrieve all details of a preset, including the values it contains.`

### `Path Parameters`

| Name     | Type | Description       |
| -------- | ---- | ----------------- |
| listID   | guid | The pick list ID. |
| presetID | guid | The preset ID.    |

{% tabs %}
{% tab title="200: OK Returns picklist details" %}

```
{
    "id": "44452549-f014-4c71-b85f-2c49778bfall",
    "name": "My Favorite Values",
    "values":
    [
        {
            "id": 44,
            "label": "United States of America",
            "description": "United States of America",
            "xref": "US",
            "status": "Active"
        },
        {
            "id": 55,
            "label": "Canada",
            "xref": "CAN",
            "status": "Active"
        },
    ]
}
```

{% endtab %}
{% endtabs %}


---

# 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://api-docs.rightsline.com/config/lists/retrieve-pick-list-presets.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.
