customer-engagement
answers
answers-testing-start-test

Start test

Start the bot simulation to begin test scenario.

post/bots/1/testing/start

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

botIdinteger required

Chatbot Id.

senderstring

Chatbot sender, if omitted will default to WEB_SIMULATION.

webhookUrlstring required

Url to send bot test events.

Example request

{
  "botId": 123,
  "sender": "12343534",
  "webhookUrl": "http://example.com"
}

Response

OK

testIdinteger

Test Id.

senderstring

Sender used in test.

Example response

{
  "testId": 123,
  "sender": "12343534"
}

Changes

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