Skip to navigation

Set AI Options

Update the user’s LoyalStream chat options/preferences. All provided key-value pairs are merged into the existing options.

Authentication: Required — Bearer token.

Request body: Key-value pairs to merge into the user’s chat options (any keys accepted).

Response:

  • status — Update status
  • user_goals — Updated user goals
  • goals — Last 20 goals

Side effects: Updates the user’s loyal_stream_chat_options with a timestamp.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
option_keystringOptional

Response

OK