# Create a dashboard group

Creates a new dashboard group for organizing dashboards.

[endpoint]
base_url = "https://telemetry.betterstack.com"
path = "/api/v2/dashboard-groups"
method = "POST"

[[body_param]]
name = "name"
description = "The name of the dashboard group."
required = true
type = "string"

[[body_param]]
name = "team_name"
description = "Required if using a [global API token](https://betterstack.com/docs/logs/api/getting-started/#get-a-global-api-token) to specify which team should own the resource."
required = false
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 201
description = "The dashboard group was created successfully."
body = '''
{
  "data": {
    "id": "456",
    "type": "dashboard_group",
    "attributes": {
      "name": "Production Monitoring",
      "created_at": "2026-02-20T10:00:00Z",
      "updated_at": "2026-02-20T10:00:00Z"
    }
  }
}
'''

[[response]]
status = 422
description = "Validation failed due to missing required attributes."
body = '''
{
  "errors": "Sorry, you are missing some required attributes",
  "required_attributes": [
    "name"
  ]
}
'''
[/responses]

## Example request

```shell
[label cURL]
curl --request POST \
  --url https://telemetry.betterstack.com/api/v2/dashboard-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
    "name": "Production Monitoring"
  }'
```
