Delete a conversation

DELETEhttps://server.heyrik.com/api/v1/chat/sessions/{id}

Path parameters

idRequired

Replace {id} in the request URL with the value for this resource.

Headers

AuthorizationstringRequired

Use Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.

Get your API key

Response

Explore the example values. This is not a complete response schema.

dataobject
Explore 2 properties
okboolean

Example true

idstring

Example "cht_c09b79cc"

Error reference
DELETE/chat/sessions/{id}
cURL
curl -X DELETE https://server.heyrik.com/api/v1/chat/sessions/cht_c09b79cc \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
Response example
JSON
{ "data": { "ok": true, "id": "cht_c09b79cc" } }

Illustrative examples · No live request is sent

Docs

Build sophisticated voice experiences with HeyRik.

© 2026 HeyRik · Support