> For the complete documentation index, see [llms.txt](https://docs.systemsx.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.systemsx.co.uk/sense/api-assist-load.md).

# API Assist - Load

## Load Assist Data for Client and Agent

<mark style="color:green;">`POST`</mark> `/v2/assist/load`

**Provide as much of Contact array as possible.**

**Body**

<table><thead><tr><th width="293">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>access_token</code></td><td>string</td><td>Access Token for Agent</td></tr><tr><td><code>contact[unique_id]</code></td><td>string</td><td></td></tr><tr><td><code>contact[name]</code></td><td>string</td><td></td></tr><tr><td><code>contact[email_address]</code></td><td>email</td><td></td></tr><tr><td><code>contact[phone_number]</code></td><td>phone</td><td></td></tr></tbody></table>

**Response**

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

```json
{
    "companyName": "CompanyCo",
    "agent": {
        "id": 1234,
        "name": "Agent",
        "department": "Sales",
        "email_address": "agent@example.com"
    },
    "products": [
        "assist",
        "calls",
        "communication"
    ],
    "communication": [],
    "invalidProducts": [],
    "contact": {
        "id": 1234,
        "unique_id": null,
        "name": "Example",
        "email_address": null,
        "phone_number": "123456789",
        "date_of_birth": null,
        "location": null,
        "biography": null,
        "tags": null,
        "created_at": "2024-10-01T10:52:30.000000Z"
    },
    "buttons": [
        "narrow_down",
        "recommend"
    ],
    "actions": [
        "email",
        "meeting",
        "sms",
        "whatsapp"
    ],
    "subActions": [
        "email_follow_up_email",
        "email_rewrite_email",
        "email_shorten_email",
        "sms_follow_up_sms",
        "sms_rewrite_sms",
        "sms_shorten_sms"
    ],
    "templates": {
        "sms": [
            "Welcome Client",
            "We tried to call you..."
        ],
        "whatsapp": [
            "Welcome Client",
            "We tried to call you..."
        ]
    },
    "calls": []
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
