add_private_note | Add a private note to a conversation (a message of type “note”: visible to operators only, never to the visitor). Arguments: website_id (string), session_id (string), content (string). |
assign_conversation | Assign a conversation to an operator. Set operator_id to the operator user_id, or empty string to unassign. |
create_conversation | Create a new conversation. The conversation becomes visible in the Crisp inbox only after a message is sent with a “user” from value. Returns the session_id. |
create_person | Create a people profile. Arguments: website_id (string), email (string, required), nickname (string, optional display name), phone (string, optional). The request wraps them as { email, person: { nickname, phone } } as the Crisp API expects. |
send_message | Send a text message to the visitor in a conversation, as an operator. Arguments: website_id (string), session_id (string), content (string, plain text). The request always uses type “text”, from “operator”, origin “chat”. |
update_conversation_state | Change the state of a conversation. state must be one of: “pending”, “unresolved”, “resolved”. |
update_person | Update a people profile. Arguments: website_id (string), people_id (string), then any of email (string), nickname (string), phone (string). Only provided fields are sent, wrapped as { email, person: { nickname, phone } }. |