AlphaAlpha Docs
API ReferenceCrm campaign templates

Create a campaign template

POST
/crm/campaign-templates
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/crm/campaign-templates" \  -H "Content-Type: application/json" \  -d '{    "body": "string",    "isArchived": true,    "name": "string",    "subject": "string",    "tags": [      "string"    ]  }'
{
  "archived": true,
  "body": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "description": "string",
  "detectedVariables": [
    "string"
  ],
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "isArchived": true,
  "language": "string",
  "name": "string",
  "number": "string",
  "subject": "string",
  "tags": [
    "string"
  ],
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "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"
}