{
"name": "Demo Form",
"description": "A simple demo form",
"title": "Welcome to our Demo Form",
"footerText": "Thank you for your interest",
"showFooter": true,
"appearanceSettings": {
"backgroundImageUrl": null,
"colorSettings": {
"backgroundColor": "#F8F9FA",
"textColor": "#212529",
"linkColor": "#0D6EFD",
"buttonTextColor": "#FFFFFF",
"buttonBackgroundColor": "#0D6EFD",
"buttonHoverTextColor": "#FFFFFF",
"buttonHoverBackgroundColor": "#0B5ED7"
},
"titleFont": "Arial",
"textFont": "Helvetica",
"showShadow": true,
"displayHeaderImage": false,
"logoImageMode": "LightColor",
"customCss": null
},
"legalNotice": {
"legalDisclosureLink": "https://example.com/legal",
"privacyPolicyLink": "https://example.com/privacy"
},
"formFields": [
{
"order": null,
"label": "Field label",
"kind": "Label"
}
],
"useCaptcha": false,
"emailNotificationConfig": {
"emails": [
"notifications@example.com",
"admin@example.com"
],
"isEmailNotificationActive": false
}
}
curl --location --request POST 'https://api.cobra.de/v1/forms' \
--header 'X-Integration-Name: API Documentation' \
--header 'X-Integration-Provider: cobra GmbH' \
--header 'X-Cobra-TenantId: 12e39e53-ece1-4d8d-8958-e782de1dbef0' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Demo Form",
"description": "A simple demo form",
"title": "Welcome to our Demo Form",
"footerText": "Thank you for your interest",
"showFooter": true,
"appearanceSettings": {
"backgroundImageUrl": null,
"colorSettings": {
"backgroundColor": "#F8F9FA",
"textColor": "#212529",
"linkColor": "#0D6EFD",
"buttonTextColor": "#FFFFFF",
"buttonBackgroundColor": "#0D6EFD",
"buttonHoverTextColor": "#FFFFFF",
"buttonHoverBackgroundColor": "#0B5ED7"
},
"titleFont": "Arial",
"textFont": "Helvetica",
"showShadow": true,
"displayHeaderImage": false,
"logoImageMode": "LightColor",
"customCss": null
},
"legalNotice": {
"legalDisclosureLink": "https://example.com/legal",
"privacyPolicyLink": "https://example.com/privacy"
},
"formFields": [
{
"order": null,
"label": "Field label",
"kind": "Label"
}
],
"useCaptcha": false,
"emailNotificationConfig": {
"emails": [
"notifications@example.com",
"admin@example.com"
],
"isEmailNotificationActive": false
}
}'
{
"data": {
"id": "123456789012345678901234",
"createdBy": "Username",
"modifiedBy": "Username",
"dateCreated": "2024-02-19T08:57:43.041Z",
"dateModified": "2024-02-19T08:57:43.041Z",
"createdByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
"modifiedByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
"name": "Demo Form",
"description": "A simple demo form",
"title": "Welcome to our Demo Form",
"footerText": "Thank you for your interest",
"showFooter": true,
"appearanceSettings": {
"headerImage": {
"imageUrl": "https://dev-public.crm-dateien.de/22e39e53-aae1-4d8d-8478-e782deccbef0/EventPro.PortalConfig/PortalImages/334553c9-aec6-4227-89da-fb8d1ea0258e.png",
"imageAltText": "test image",
"width": 40,
"height": 40
},
"lightColorLogoImage": {
"imageUrl": "https://dev-public.crm-dateien.de/22e39e53-aae1-4d8d-8478-e782deccbef0/EventPro.PortalConfig/PortalImages/334553c9-aec6-4227-89da-fb8d1ea0258e.png",
"imageAltText": "test image",
"width": 40,
"height": 40
},
"darkColorLogoImage": {
"imageUrl": "https://dev-public.crm-dateien.de/22e39e53-aae1-4d8d-8478-e782deccbef0/EventPro.PortalConfig/PortalImages/334553c9-aec6-4227-89da-fb8d1ea0258e.png",
"imageAltText": "test image",
"width": 40,
"height": 40
},
"backgroundImageUrl": null,
"colorSettings": {
"backgroundColor": "#F8F9FA",
"textColor": "#212529",
"linkColor": "#0D6EFD",
"buttonTextColor": "#FFFFFF",
"buttonBackgroundColor": "#0D6EFD",
"buttonHoverTextColor": "#FFFFFF",
"buttonHoverBackgroundColor": "#0B5ED7"
},
"titleFont": "Arial",
"textFont": "Helvetica",
"showShadow": true,
"displayHeaderImage": true,
"logoImageMode": "LightColor",
"customCss": null
},
"legalNotice": {
"legalDisclosureLink": "https://example.com/legal",
"privacyPolicyLink": "https://example.com/privacy"
},
"formFields": [
{
"order": null,
"label": "Field label",
"kind": "Label"
}
],
"useCaptcha": false,
"isCopy": false,
"isPublished": true,
"publishedDate": "2025-05-13T10:30:00Z",
"fullLink": "https://tenantabc.crm-formulare.de/ab12",
"qrCodeLink": null,
"emailNotificationConfig": {
"emails": [
"notifications@example.com",
"admin@example.com"
],
"isEmailNotificationActive": false
},
"responseCount": 42,
"lastResponseDate": "2025-05-13T10:30:00Z"
},
"message": "string",
"metaData": {
"totalResults": 0,
"responseTimeStamp": "2019-08-24T14:15:22Z"
},
"statusCode": 0
}