Skip to main content

Patch Chat Context

PATCH 

/api/v1/conversations/:conversation_id/context

Turn connectors off (or back on) for this chat only.

Summary​

PATCH /api/v1/conversations/{conversation_id}/context is an operation in the conversations group of the Nexatron REST API, served from https://api.nexatron.io. Send an API key as a bearer token in the Authorization header. It takes the path parameter conversation_id and a JSON body whose required field is sources_off. A successful call returns 200; the other documented responses are 400, 401, 403, 404 and 422.

Example request​

curl -X PATCH "https://api.nexatron.io/api/v1/conversations/<conversation_id>/context" \
-H "Authorization: Bearer $NEXATRON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sources_off":[]}'

Placeholders in angle brackets stand for your own values. NEXATRON_API_KEY holds an API key from Settings → API tokens. See the API overview for authentication, errors and rate limits.

Request​

Responses​

Successful Response