# List all Cards

{% hint style="info" %}
These endpoints are in beta testing. Some features may not work as documented or may behave unexpectedly.&#x20;
{% endhint %}

## Get cards

<mark style="color:blue;">`GET`</mark> `https://{{account_id}}.acquire.io/api/v1/crm/view?contact_id={{contact_id}}`

Retrieve a list of all custom cards.&#x20;

#### Query Parameters

| Name        | Type    | Description                               |
| ----------- | ------- | ----------------------------------------- |
| page        | integer | Specify the page number e.g. 2 to return. |
| limit       | integer | The number of results e.g. 20 to return   |
| contact\_id | integer | Id of the contact.                        |

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{api\_key}} |

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

```
{
    "data": {
        "offset": 0,
        "count": 7,
        "data": [
            {
                "id": 18,
                "title": "Interaction Cards",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "label": "mix sample",
                        "canvas": {
                            "content_url": true
                        },
                        "action_key": "test-json",
                        "action_type": "initialize_tab",
                        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                        "initialize_url": "https://0ff32dabc277.ngrok.io/mix1-initialize"
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-10-16T06:50:04.000Z"
            },
            {
                "id": 17,
                "title": "Update Interaction Cards",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "label": "mix sample",
                        "canvas": {
                            "content_url": true
                        },
                        "action_key": "test-json",
                        "action_type": "initialize_tab",
                        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                        "initialize_url": "https://0cd3f367b0ac.ngrok.io/mix1-initialize"
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-10-14T11:57:20.000Z"
            },
            {
                "id": 16,
                "title": "Custom View added",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "label": "mix sample",
                        "canvas": {
                            "content_url": true
                        },
                        "action_key": "test-json",
                        "action_type": "initialize_tab",
                        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                        "initialize_url": "https://0cd3f367b0ac.ngrok.io/mix2-initialize"
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-10-14T11:36:36.000Z"
            },
            {
                "id": 15,
                "title": "this is new view",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "label": "mix sample",
                        "canvas": {
                            "content_url": true
                        },
                        "action_key": "test-json",
                        "action_type": "initialize_tab",
                        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                        "initialize_url": "https://226069089919.ngrok.io/mix2-initialize"
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-10-14T11:35:10.000Z"
            },
            {
                "id": 13,
                "title": "this is new view",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "canvas": {
                            "content": {
                                "components": [
                                    {
                                        "text": "hello acquire",
                                        "type": "text",
                                        "style": "heading"
                                    },
                                    {
                                        "id": "my_input",
                                        "type": "input",
                                        "label": "my input box",
                                        "style": "paragraph",
                                        "value": "acquire"
                                    }
                                ]
                            }
                        }
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-09-17T05:28:44.000Z"
            },
            {
                "id": 12,
                "title": "this is canvas view",
                "contactId": 96,
                "userId": 24,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "canvas": {
                            "content": {
                                "components": [
                                    {
                                        "text": "hello acquire",
                                        "type": "text",
                                        "style": "heading"
                                    },
                                    {
                                        "id": "my_input",
                                        "type": "input",
                                        "label": "my input box",
                                        "style": "paragraph",
                                        "value": "acquire"
                                    }
                                ]
                            }
                        }
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-09-17T05:09:42.000Z"
            },
            {
                "id": 11,
                "title": "thiTest view updated",
                "contactId": 96,
                "userId": 1,
                "view": {
                    "type": "ui_block",
                    "config": {
                        "canvas": {
                            "content": {
                                "components": [
                                    {
                                        "text": "hello acquire",
                                        "type": "text",
                                        "style": "heading"
                                    },
                                    {
                                        "id": "my_input",
                                        "type": "input",
                                        "label": "my input",
                                        "style": "paragraph",
                                        "value": "acquire"
                                    }
                                ]
                            }
                        }
                    }
                },
                "meta": {
                    "iconFont": "icon-ticket",
                    "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg"
                },
                "dateCreated": "2020-09-17T05:05:35.000Z"
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://developer.acquire.io/rest-apis/cards/interaction-cards-middle/retrieve-cards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
