read
cs

Render the {{merge.fields}} in a reply body for one support thread — customer, store, agent, ticket and the customer’s l

Changed on

Render the {{merge.fields}} in a reply body for one support thread — customer, store, agent, ticket and the customer’s latest order — with the function the inbox composer uses. Returns text; writes and sends nothing. A field it cannot fill stays in the text and is named in unfilled (complete: false), never replaced by an empty string. Read-only.

post/api/v1/tools/cs_merge_fields_expand

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescs:read

Request body

object required
thread_id, string uuid required
body, string required

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision