# Crisp

Manage Crisp live chat: conversations, messages, people, operators, sessions. Exposes **16 actions** covering the full API surface
the agent needs - read and write.

## What it can do

| Method | What it does |
| --- | --- |
| `crisp_list_conversations` | List all conversations - GET /website/&#123;website_id&#125;/conversations. |
| `crisp_get_conversation` | Get one conversation - GET /website/&#123;website_id&#125;/conversation/&#123;session_id&#125;. |
| `crisp_initiate_conversation` | Initiate a new conversation - POST /website/&#123;website_id&#125;/conversation. |
| `crisp_archive_conversation` | Archive a conversation - PATCH /website/&#123;website_id&#125;/conversation/&#123;session_id&#125;. |
| `crisp_send_message` | Send a message in a conversation - POST /website/&#123;website_id&#125;/conversation/&#123;session_id&#125;/message. |
| `crisp_list_messages` | List messages in a conversation - GET /website/&#123;website_id&#125;/conversation/&#123;session_id&#125;/messages. |
| `crisp_get_message` | Get one message - GET /website/&#123;website_id&#125;/conversation/&#123;session_id&#125;/message/&#123;message_id&#125;. |
| `crisp_get_people_profile` | Get a customer profile - GET /website/&#123;website_id&#125;/people/&#123;people_id&#125;. |
| `crisp_update_people_profile` | Update a customer profile - PATCH /website/&#123;website_id&#125;/people/&#123;people_id&#125;. |
| `crisp_list_people_profiles` | List all customer profiles - GET /website/&#123;website_id&#125;/people. |
| `crisp_list_operators` | List support operators - GET /website/&#123;website_id&#125;/operators. |
| `crisp_get_operator` | Get one operator - GET /website/&#123;website_id&#125;/operator/&#123;operator_id&#125;. |
| `crisp_invite_operator` | Invite a new operator - POST /website/&#123;website_id&#125;/operators. |
| `crisp_delete_operator` | Delete an operator - DELETE /website/&#123;website_id&#125;/operator/&#123;operator_id&#125;. |
| `crisp_get_website_settings` | Get website settings - GET /website/&#123;website_id&#125;/settings. |
| `crisp_update_website_settings` | Update website settings - PATCH /website/&#123;website_id&#125;/settings. |

## How to get credentials

This connector uses an **API key / token**. Create one in the provider
dashboard, then paste it into FlyMyAI:

- **`CRISP_IDENTIFIER`** - Crisp Marketplace - create a token - identifier. (https://marketplace.crisp.chat/)
- **`CRISP_KEY`** - Secret key paired with the identifier.
- **`CRISP_WEBSITE_ID`** - Crisp - Settings - Website settings - Website ID (UUID).

## Fields to fill in FlyMyAI

| FlyMyAI field | Where it comes from |
| --- | --- |
| `CRISP_IDENTIFIER` | Crisp Marketplace - create a token - identifier. |
| `CRISP_KEY` | Secret key paired with the identifier. |
| `CRISP_WEBSITE_ID` | Crisp - Settings - Website settings - Website ID (UUID). |

## Troubleshooting

- **`401 Unauthorized` / `403 Forbidden`** - the token is wrong, expired, or missing a required scope - regenerate it.
- **`429 Too Many Requests`** - you hit the provider rate limit; retry after a short backoff.
- **Unexpected `4xx` on writes** - double-check required fields; the agent confirms before write actions.

## Links

- [Crisp API documentation](https://docs.crisp.chat/references/rest-api/v1/)
