New project
POST/project/create
Create a new project from array of URLs. Successful response will be formatted as JSONP stream. You can add up to 30 URLs at once.
Request
Query Parameters
Possible values: [5 minutes
, 30 minutes
, 1 hour
, 8 hours
, 1 day
, 7 days
, false
]
Default value: 5 minutes
Check period interval as string
- application/json
Body
Array of URLs
Default value: false
Create empty project (true
) or preset project (false
)
Responses
- 200
- 400
- 403
- 406
- 500
There Successfully created projects. Response is JSONP payload with individual projects.
- application/json
- Schema
- Example (from schema)
Schema
Project ID
Project title
Project base URL
Possible values: [5 minutes
, 30 minutes
, 1 hour
, 8 hours
, 1 day
, 7 days
, false
]
Default value: 5 minutes
Period of test checking - false
means never check Test automatically.
Uptime URL
Possible values: [false
, 15
, 30
, 60
]
Uptime period in seconds - false
means uptime is disabled
apiKey that can be used for the project operations
Identification of the project owner.
Possible values: [eu
, de
, gb
, ca
, us
, tx
, dc
, sg
, hk
]
Project check location
Default value: true
Date and time of project creation
Default value: Testomatobot/1.0 (Linux x86_64; +https://www.testomato.com/testomatobot) minicrawler/5.2.2
User agent
Default value: 3
Cumulated project timeout in seconds
Default value: 50
Bulk request delay in miliseconds
Array of users ID's with access to the project
Project name was replaced by Project title
Original URL that was processed
{
"id": "50a9f72f14db3be812000233",
"title": "string",
"url": "https://testomato.com",
"period": "5 minutes",
"uptimeUrl": "string",
"uptimeEnabled": false,
"apiKey": 123456,
"payerId": 0,
"location": "eu",
"checkDefaultErrors": true,
"created": "2024-03-01T17:56:20.383Z",
"userAgent": "Testomatobot/1.0 (Linux x86_64; +https://www.testomato.com/testomatobot) minicrawler/5.2.2",
"timeout": 3,
"delay": 50,
"userIds": [
0
],
"originalUrl": "string"
}
Error when trying to create more than 30 projects at once or period
parameters is invalid.
- application/json
- Schema
- Example (from schema)
Schema
Default value: Sorry! You can only add 30 projects at a time.
Default value: true
{
"message": "Sorry! You can only add 30 projects at a time.",
"error": true
}
Error when you have reached your subscription project limit.
- application/json
- Schema
- Example (from schema)
Schema
Default value: You have reached your project limit.
Default value: true
{
"message": "You have reached your project limit.",
"error": true
}
When you try send invalid or not supported URL
- application/json
- Schema
- Example (from schema)
Schema
Default value: Oops, we're sorry! The URL "xxx" is not valid
Default value: true
{
"message": "Oops, we're sorry! The URL \"xxx\" is not valid",
"error": true
}
Project creation failed with fatal error (please contact us at support@testomato.com).
- application/json
- Schema
- Example (from schema)
Schema
Default value: Oops, we're sorry! Project creation failed. Please try later or contact us.
Default value: true
{
"message": "Oops, we're sorry! Project creation failed. Please try later or contact us.",
"error": true
}