AlphaAlpha Docs
API ReferenceContact form widget config

Create a contact form widget config

POST
/crm/contact-form-widgets
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/contact-form-widgets" \  -H "Content-Type: application/json" \  -d '{    "confirmationMessages": {      "property1": "string",      "property2": "string"    },    "descriptions": {      "property1": "string",      "property2": "string"    },    "isActive": true,    "isAddressRequired": true,    "name": "string",    "redirectUrls": {      "property1": "string",      "property2": "string"    },    "slug": "string"  }'
{
  "active": true,
  "addressRequired": true,
  "assignedTeamLeadId": "string",
  "confirmationMessage": "string",
  "confirmationMessages": {
    "property1": "string",
    "property2": "string"
  },
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "description": "string",
  "descriptions": {
    "property1": "string",
    "property2": "string"
  },
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "fields": [
    {
      "label": "string",
      "name": "string",
      "required": true,
      "sortOrder": 0,
      "type": "TEXT"
    }
  ],
  "id": "string",
  "isActive": true,
  "isAddressRequired": true,
  "name": "string",
  "number": "string",
  "redirectUrls": {
    "property1": "string",
    "property2": "string"
  },
  "slug": "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"
}