Embedded Care
End a care chat
Changed onClose a chat the cardholder has finished with or navigated away from. The conversation stops accepting messages; sending one afterwards is refused with CARE_CHAT_ENDED, and the cardholder starts a new chat by sending another message.
No session token is required, even on a verified chat. Ending a chat touches no account data, and requiring a live session would mean a partner whose cardholder walked away could not close the chat without texting them another code first. The chat only has to belong to the calling platform.
Closing a chat that is already closed is not an error: that is the state the caller asked for.
Requires a token with the VIEW permission.
delete/care/chats/{chatId}
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/care/chats/{chatId}
- AuthHTTP basic
Response
The chat is closed. No content.
Changes
- info
endpoint added
- info