AlphaAlpha Docs
API ReferenceCrm email campaigns

Render the campaign with a sample recipient's variables

POST
/crm/email-campaigns/{id}/preview
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

sampleRecipientLeadId?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/crm/email-campaigns/string/preview" \  -H "Content-Type: application/json" \  -d '{}'
{
  "body": "string",
  "sampleVariables": {
    "property1": "string",
    "property2": "string"
  },
  "subject": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}