AI
AI email drafting through the organization's configured AI provider.
1 endpoints· verified against http://127.0.0.1:8741
1 endpoints
POST/api/v1/salesshift/ai/write-emailPartialDraft an email with the organization's configured AI provider.
Request body (required) — WriteEmailRequest
| Field | Type | Required | Notes |
|---|---|---|---|
| prompt | string | required | |
| tone | string | optional | Default "professional". |
| step_number | integer | optional | Default 1. |
Values in the request below are typed placeholders, not sample data.
Request
curl -X POST 'https://api.vxcloud.io/api/v1/salesshift/ai/write-email' \
-H "Authorization: Bearer $SS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ "prompt": "<string>", "tone": "professional", "step_number": 1 }'Response · 200
{
"subject": "string",
"body_html": "string",
"source": "string"
}#post-api-v1-salesshift-ai-write-emailai_router · vxcloud_fastapiclient/app/services/salesshift/ai_router.py:132The route is implemented and reachable, but it calls the organization's AI integration and the test org has no integration_type='ai' row, so no provider-backed result was produced here.