Create a Project

API Explorer: /projects

To create a project:

  1. Create the project object with a POST to the projects endpoint (see sample code).
  2. Capture the projectId returned as id from the response.

Create a Project

curl 'https://a.blazemeter.com/api/v4/projects' \
    -X POST \
    -H 'Content-Type: application/json' \
    --user 'api_key_id:api_key_secret' \
    -d '{"name": "V4 Create Test Through API", "description": "A description", "workspaceId": 123456}'

Create a Project Request Attributes

Attributes

  • namestring

    required

    The project name

  • descriptionstring

    The project description

  • workspaceIdinteger

    required

    The workspaceId you want to associate the project to

Create a ProjectCreate a Project POST Body (JSON)

{
    "name": "V4 Create Test Through API",
    "description": "A description",
    "workspaceId": 123456
}

Create a Project Response Attributes

See The Project Object for the details on the response attributes.

Response201 Created

{
    "api_version": 4,
    "error": null,
    "result": {
        "id": 123456,
        "name": "V4 Create Test Through API",
        "userId": 123456,
        "description": "A description",
        "created": 1488987563,
        "updated": 1488987563,
        "workspaceId": 123456,
        "testsCount": 388
    }
}