/v1/workspaces/{workspace_id}/test-sender/testAuthSend me a test from the test sender
Sends a short fixed email from the test sender to your own verified address, so you can see what your members will receive. Needs a signed-in member (an API key has no inbox: 422 `test_sender_recipient_not_allowed`). Counts against the daily cap and the ordinary send limits.
Path parameters
workspace_id*string · uuidId of the workspace.
Headers
Idempotency-KeystringOpaque client-generated string (1–256 chars, `[A-Za-z0-9._:-]`) used to deduplicate retries within a 24h window. A retry with the same key and body returns the original response with `Idempotent-Replay: true`.
Response · 202 Accepted; queued for delivery.
id*string · uuidId of the stored message (`GET /messages/{id}`).
Example: "4f8b2c1e-9a3d-4e57-b6f0-2d1c8e7a9b05"
to*string · emailWhere it went: your own verified address.
Example: "you@example.com"
from*stringThe From it went out with.
Example: "\"Acme via ProductCraft\" <test@sandbox.productcraft.co>"
Example
Request
POST https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/test-sender/test
Authorization: Bearer YOUR_TOKENResponse
{
"id": "4f8b2c1e-9a3d-4e57-b6f0-2d1c8e7a9b05",
"to": "you@example.com",
"from": "\"Acme via ProductCraft\" <test@sandbox.productcraft.co>"
}