Skip to Content
ColdVenue API
Campaigns

Send a test email

Sends a rendered step to a test address from one of the campaign’s accounts. **Required scopes:** `campaigns:write` and `campaigns:read`

POST
/api/v1/campaigns/{campaignId}/test-email

Sends a rendered step to a test address from one of the campaign’s accounts.

Required scopes: campaigns:write and campaigns:read

Authorization

apiKey
headerAuthorizationBearer <token>

A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.

Path Parameters

campaignId*string
Match^[a-f0-9]{24}$

Request Body

application/json
  1. body
stepId?string
Lengthlength <= 24
variantId?string
Lengthlength <= 24
draft?
leadId?string
Match^[a-f0-9]{24}$
accountId*string
Match^[a-f0-9]{24}$
values?
to*array<>
Items1 <= items <= 5

Response Body

Default Response

Example Request
curl -X POST 'https://api.coldvenue.in/api/v1/campaigns/string/test-email' \  -H 'Content-Type: application/json' \  -d '{  "accountId": "string",  "to": [    "user@example.com"  ]}'
Example Response200
Empty