sendmock_project_create
Add a project that apps can send traffic to by its key.
Toolset core.
| Input | Type | Description |
|---|---|---|
| keyrequired | string | What apps send as the SMTP username, the X-SendMock-Project header or the /projects/<key>/ URL prefix. It never changes.Example: shop |
| namerequired | string | A name for the project, shown in the UI.Example: Shop |
Example call
{
"name": "sendmock_project_create",
"arguments": {
"key": "shop",
"name": "Shop"
}
}Result: Project
- API
- POST
/api/v1/projects - CLI
sendmock projects create- In the app
- Settings > Projects > New project