Create Monitor
This endpoint allows you to create a new Monitor in your Garmingo Status instance.
Endpoint | Method | URL |
---|---|---|
/monitors | POST | https://garmingo.com/api/status/v1/monitors |
Request Body
The request body is the Create Monitor object.
Example
{
"displayName": "My Monitor",
"ttl": 60,
"type": "http",
"region": "eu-central",
"enabled": true,
"retries": 3,
"keywords": ["my", "monitor"],
"settings": {
"url": "https://example.com",
"method": "GET",
"headers": {
"Authorization": "Bearer my-token"
},
"body": null
}
}
Response
The response is a JSON object with the following properties:
Property | Type | Description |
---|---|---|
success | boolean | Whether the request was successful. |
data.id | string | The ID of the created Monitor. |
Example
{
"success": true,
"data": {
"id": "5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b"
}
}