> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shimli.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Live Chat session

> Optional parameters

Optional parameters

* name string = name of contact

`POST` `/v1/live-chat/session`

## Body

```json theme={null}
{
  "token": "{{token}}",
  "instance": "{{instance}}"
}
```

## Autenticacion

Este endpoint requiere tu token de API. Incluyelo en el body como `token` o como query param `token`/`api-token`. Ve [Autenticacion](/getting-started/authentication) para mas detalles.

## Ejemplo de request

```bash theme={null}
curl -X POST https://api.shimli.app/v1/live-chat/session \
  -H "Content-Type: application/json" \
  -d '{
    "token": "{{token}}",
    "instance": "{{instance}}"
}'
```

## Respuesta

```json title="200 OK" theme={null}
{
  "statusCode": 200,
  "body": {
    "err": false
  }
}
```
