---
title: "Start test"
method: POST
path: "/bots/1/testing/start"
tags: ["customer-engagement", "answers", "answers-testing-start-test"]
---

# Start test

`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)
- URL: `https://api.infobip.com/bots/1/testing/start`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Start the bot simulation to begin test scenario.

## Request body

- 781c309206ee4e50226d2695a75a47d5a1a01fb64cb954c3d350b69d70b039a2TestingStartRequest
  - `botId` integer, required: Chatbot Id.
  - `sender` string: Chatbot sender, if omitted will default to WEB_SIMULATION.
  - `webhookUrl` string, required: Url to send bot test events.

## Response `200`

OK

- 781c309206ee4e50226d2695a75a47d5a1a01fb64cb954c3d350b69d70b039a2TestingStartResponse
  - `testId` integer: Test Id.
  - `sender` string: Sender used in test.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
