Skip to main content
POST
/
api
/
v1
/
disruptions
Create disruption
curl --request POST \
  --url https://app.larm.dev/api/v1/disruptions \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "started_at": "<string>",
  "type": "<string>",
  "impact": "<string>",
  "message": "<string>",
  "status_page_id": "<string>",
  "components": [
    {}
  ]
}
'
import requests

url = "https://app.larm.dev/api/v1/disruptions"

payload = {
"title": "<string>",
"started_at": "<string>",
"type": "<string>",
"impact": "<string>",
"message": "<string>",
"status_page_id": "<string>",
"components": [{}]
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
started_at: '<string>',
type: '<string>',
impact: '<string>',
message: '<string>',
status_page_id: '<string>',
components: [{}]
})
};

fetch('https://app.larm.dev/api/v1/disruptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://app.larm.dev/api/v1/disruptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'started_at' => '<string>',
'type' => '<string>',
'impact' => '<string>',
'message' => '<string>',
'status_page_id' => '<string>',
'components' => [
[

]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://app.larm.dev/api/v1/disruptions"

payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"started_at\": \"<string>\",\n \"type\": \"<string>\",\n \"impact\": \"<string>\",\n \"message\": \"<string>\",\n \"status_page_id\": \"<string>\",\n \"components\": [\n {}\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://app.larm.dev/api/v1/disruptions")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"started_at\": \"<string>\",\n \"type\": \"<string>\",\n \"impact\": \"<string>\",\n \"message\": \"<string>\",\n \"status_page_id\": \"<string>\",\n \"components\": [\n {}\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.larm.dev/api/v1/disruptions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"started_at\": \"<string>\",\n \"type\": \"<string>\",\n \"impact\": \"<string>\",\n \"message\": \"<string>\",\n \"status_page_id\": \"<string>\",\n \"components\": [\n {}\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "title": "API outage",
    "type": "disruption",
    "status": "investigating",
    "impact": "major",
    "auto_created": false,
    "started_at": "2026-03-28T12:00:00Z",
    "resolved_at": null,
    "updates": [
      {
        "id": "660e8400-e29b-41d4-a716-446655440000",
        "status": "investigating",
        "body": "Investigating API errors.",
        "posted_at": "2026-03-28T12:00:00Z",
        "posted_by": "user@example.com"
      }
    ],
    "affected_components": [
      {
        "id": "770e8400-e29b-41d4-a716-446655440000",
        "name": "API",
        "status": "major_outage"
      }
    ],
    "inserted_at": "2026-03-28T12:00:00Z",
    "updated_at": "2026-03-28T12:00:00Z"
  }
}
Requires incidents:read_write permission. Create a disruption to communicate a service issue. Optionally publish to a status page with affected components in the same call.
title
string
required
Disruption title (1–255 characters)
started_at
string
required
When the disruption began (ISO 8601 timestamp, e.g. 2026-03-28T12:00:00Z)
type
string
default:"disruption"
disruption or maintenance
impact
string
default:"major"
minor, major, or critical
message
string
Initial timeline message. If omitted, the disruption is created with a default message.
status_page_id
string
UUID of the status page to publish to. Must be used together with components.
components
object[]
Components to mark as affected. Each object has id (component UUID) and status (major_outage, partial_outage, degraded_performance, under_maintenance, or operational).
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "title": "API outage",
    "type": "disruption",
    "status": "investigating",
    "impact": "major",
    "auto_created": false,
    "started_at": "2026-03-28T12:00:00Z",
    "resolved_at": null,
    "updates": [
      {
        "id": "660e8400-e29b-41d4-a716-446655440000",
        "status": "investigating",
        "body": "Investigating API errors.",
        "posted_at": "2026-03-28T12:00:00Z",
        "posted_by": "user@example.com"
      }
    ],
    "affected_components": [
      {
        "id": "770e8400-e29b-41d4-a716-446655440000",
        "name": "API",
        "status": "major_outage"
      }
    ],
    "inserted_at": "2026-03-28T12:00:00Z",
    "updated_at": "2026-03-28T12:00:00Z"
  }
}