Preview: SendMock has no stable release yet. These docs follow develop.

API reference

Push

GET/api/v1/push/{pushId}

One push notification with its request and answer.

CLI
sendmock push show <pushId>
MCP tool
sendmock_push_get
In the app
Push > open a notification

Answer

200 PushNotification

Errors: 404, as { error: { code, message } }

Try it in Demo mode

GET/api/v1/wait/push

Wait until a matching push notification arrives; 408 on timeout.

CLI
sendmock push wait
MCP tool
sendmock_push_wait
In the app
Push (new notifications appear live)

Answer

200 PushNotification

Errors: 408, as { error: { code, message } }

Try it in Demo mode