Start Now

Groups


Add Group

Request

POST /groups

Parameters

NameTypeDescription
namestringRequired -- Name of Group
titlestringTitle of Group for Status Page (Optional)
descriptionstringDescription of Group
colorstringRequired -- Color of Group Label
monitorsstring[]Monitors uuid

Request Payload Example

{
  "name": "Group Name",
  "title": "Group Title",
  "description": "Description",
  "color": "indigo",
  "monitors": ["9454e78d-29a2-42eb-90eb-963e9c1f349f", "2c593af2-ff1f-4a55-a33f-9ce8dd297990"]
}

Request Curl Example

curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
-d \
  '{
    "name":"Group Name",
    "title":"Group Title",
    "description":"Description",
    "color":"indigo",
    "monitors":["f2afe863-9e18-49ff-8076-2d29ce52e131", "ca2b3709-12b3-4897-bf94-15c47d8fcdf2"]
  }' \
  "https://api.statsignal.dev/v1/groups"

Response Example

Status: 201 Created

{
  "groups": {
    "uuid": "bf959d9f-8175-4263-b66f-c2872bbc791a",
    "name": "Group Name",
    "title": "Group Title",
    "description": "Description",
    "color": "indigo",
    "monitors": ["9454e78d-29a2-42eb-90eb-963e9c1f349f", "2c593af2-ff1f-4a55-a33f-9ce8dd297990"],
    "createdAt": "2021-10-26T17:18:39.02089Z"
  }
}
Statsignal - Uptime monitoring and status page | Product Hunt
Statsignal is designed and built by 19 Signals LLC. Copyright ©2021 19 Signals LLC. All rights reserved.