Skip to content
Dashboard
Theme
Theme

Start debug capture

POST /v1/connections/{conn}/debug_capture: Start debug capture.

View Markdown

POST /v1/connections/{conn}/debug_capture

Scope
environment:write
Auth
Access token
Since
1.0
  • conn string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Content type application/json: DebugEmptyRequest.

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/connections/conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/debug_capture" \
-H "Authorization: Bearer $OHAUTHCAT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
Response 200
{
"active": true,
"captured": 0,
"expires_at": "2026-01-15T09:30:00Z",
"remaining": 0
}