v1

latestSwagger 2.02026-07-175445133.1 KB
claude

Handle Claude hook events

Receives hook notifications from Claude Code for activity tracking

post/v1/claude/hooks

Request body

dataobject

Additional event-specific data

event_typestring

Type of the hook event (UserPromptSubmit, Stop, etc.)

session_idstring

Session ID if available

working_directorystring

Working directory where the event occurred

Example request

{
  "event_type": "UserPromptSubmit",
  "session_id": "abc123-def456-ghi789",
  "working_directory": "/workspace/my-project"
}

Response

OK

object required