---
title: "Add a heartbeat"
method: POST
path: "/heartbeats"
tags: ["Heartbeats"]
---

# Add a heartbeat

`POST /heartbeats`

## Request

- Base URL: `https://api.pulsetic.com/api/public`
- URL: `https://api.pulsetic.com/api/public/heartbeats`
- Auth: API key in header `Authorization`

## Request body

- HeartbeatCreateInput
  - `name` string, required
  - `monitoring_interval` integer, required
  - `grace_period` integer, required
  - `alert_email` boolean
  - `alert_sms` boolean
  - `alert_voice` boolean
  - `tags` string[]: Tag names to attach to the created heartbeat. Existing tags with the same name (anywhere on your team) are reused instead of duplicated; unknown names are created automatically.

## Response `200`

successful operation

- Heartbeat
  - `id` integer
  - `name` string
  - `monitoring_interval` integer: Expected heartbeat interval in seconds.
  - `grace_period` integer: Grace period in seconds before alerting.
  - `alert_email` boolean
  - `alert_sms` boolean
  - `alert_voice` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `tags` object[]
    - `name` string

---

[API](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation.md) · [All operations](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation/llms.txt) · [OpenAPI document](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation/revisions/8e0c010eb8ed?raw)
