GET/api/v1/events/recent
The latest events, newest first: the polling twin of the live stream.
- CLI
sendmock events tail- MCP tool
sendmock_events_recent- In the app
- Notification bell
Answer
200 AppEvent[]
/api/v1/events/recentThe latest events, newest first: the polling twin of the live stream.
sendmock events tailsendmock_events_recent200 AppEvent[]
/api/v1/integrations/{stack}Copy-ready settings for a stack, as Settings > Connection shows them.
sendmock integrate <stack>sendmock_integration_snippet200 IntegrationSnippet
Errors: 404, as { error: { code, message } }
/api/v1/scenarios/validateCheck a scenario file without running it.
sendmock scenario validate <file>sendmock_scenario_validateScenarioRequest : Body of POST /api/v1/scenarios/validate and /run: a scenario file's TOML text.
| Field | Type | Description |
|---|---|---|
| scenario | string | The scenario file's text, in TOML.Example: name = "otp-login"
[[steps]]
run = "sample.send"
with = { kind = "sms" } |
200 ScenarioValidation
/api/v1/scenarios/runRun a scenario file step by step and report each step.
sendmock scenario run <file>sendmock_scenario_runScenarioRequest : Body of POST /api/v1/scenarios/validate and /run: a scenario file's TOML text.
| Field | Type | Description |
|---|---|---|
| scenario | string | The scenario file's text, in TOML.Example: name = "otp-login"
[[steps]]
run = "sample.send"
with = { kind = "sms" } |
200 ScenarioReport
Errors: 422, as { error: { code, message } }
/api/v1/ai/agentsFor each AI agent, the install command and its MCP configuration.
sendmock ai install --target <agent>sendmock_ai_agents200 AiAgentSetup[]
/api/v1/ai/skillThe SendMock agent skill as Markdown.
sendmock ai skillsendmock://docs/skill200 string (text/markdown)