Operate — Events
Test & Eval

Send agent test message

Tests the agent without a real consumer. Testing tokens are not billed. Conversations cannot be deleted.

post/partner/app/{appId}/bizai/agent_test

Request

  • Base URL
    https://partner.gupshup.io
  • URL
    https://partner.gupshup.io/partner/app/{appId}/bizai/agent_test
  • Auth
    API key in header Authorization

Request body

user_msgstring required
conversation_idstring

Reuse to continue a test conversation. Must be a string.

Response

The agent's reply.

message_idstring required
agent_responsestring required
conversation_idstring required
timestampinteger
handoff_reasonstring
no_response_reasonstring
quick_repliesstring[]
product_variant_idsstring[]

Example response

{
  "no_response_reason": "ELIGIBILITY_CHECK_FAILED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.