v5

latestOpenAPI 3.1.02026-08-08341215300.9 KB

Add Custom Context

Add a new row to custom_context with the user's team.

  • description: required in body
  • channel_id: optional list of channel IDs (e.g., ["C123", "C456"]) or None for all channels
  • chat_enabled: optional in body
  • enabled: optional in body Other fields (id, created_at) are auto-filled by DB defaults.
post/api/add_context

Request body

descriptionstring required
channel_idstring[] nullable
chat_enabledboolean nullable
enabledboolean nullable

Response

Successful Response

{"stackTrail":"paths:/api/add_context:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}