---
title: "Debugger Event"
method: POST
path: "/api/v1/twilio/debugger"
---

# Debugger Event

`POST /api/v1/twilio/debugger`

## Request

- Base URL: `https://app.sagecare.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sagecare.ai/api/v1/twilio/debugger`
- Auth: none declared

A single Twilio error or warning, delivered as it happens rather than on a threshold.

Severity picks the log level, so an error reaches Sentry and a warning stays in the logs.
The message carries the error code so Sentry groups by failure rather than fingerprinting
every event separately.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountSid` string, required
  - `Level` union
    - 'error' | 'warning'
    - string
  - `ParentAccountSid` string
  - `Sid` string
  - `PayloadType` string
  - `Timestamp` string
  - `Payload` string

## Response `200`

OK

---

[API](https://skmtc.dev/sagecare/apis/sage-api-v1.md) - [All operations](https://skmtc.dev/sagecare/apis/sage-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/sagecare/apis/sage-api-v1/revisions/36b26ceace69?raw)
