Skip to main content
POST
/
tests
Create test
curl --request POST \
  --url https://api.mobileboost.io/tests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "commands": [
    "<string>"
  ],
  "title": "",
  "tags": [
    "<string>"
  ],
  "preRequests": [
    {
      "curlCommand": "",
      "delayBeforeRequest": 0,
      "valuesToRemember": []
    }
  ],
  "launchParams": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "testInputs": [
    {
      "key": "<string>",
      "defaultValue": "<string>"
    }
  ],
  "teardownRequests": [
    {
      "curlCommand": ""
    }
  ]
}
'
{
  "testId": "xMIt964RUpAB95b6YI2F"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mobileboost.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
commands
string[]
required

Natural-language commands that make up the test case.

title
string
default:""

Human-readable title of the test.

tags
string[]

Tags used to group or filter tests.

preRequests
PreRequest · object[]

HTTP requests executed before the test runs (e.g. to seed state or fetch tokens).

launchParams
LaunchParam · object[]

Key/value pairs passed to the test at launch.

testInputs
TestInput · object[]

Named inputs referenced by the test commands, with default values.

teardownRequests
TearDownRequest · object[]

HTTP requests executed after the test finishes (e.g. to clean up state).

Response

200 - application/json

Successful response

testId
string

The unique identifier of the created test