sendmock projects create
Add a project that apps can send traffic to by its key.
sendmock projects create [flags]
| Flag | Type | Description |
|---|---|---|
| --key <key>required | string | What apps send as the SMTP username, the X-SendMock-Project header or the /projects/<key>/ URL prefix. It never changes.Example: shop |
| --name <name>required | string | A name for the project, shown in the UI.Example: Shop |
Example
sendmock projects create --key shop --name Shop
Output with --json: Project. Exit codes: 0, 1, 2.
- API
- POST
/api/v1/projects - MCP tool
sendmock_project_create- In the app
- Settings > Projects > New project