Cases
Create a case
Changed onCreate a case in your workspace.
See also
Learn more about Cases
Learn more about Templates
post/v1/cases
Request
- Base URLhttps://api.dotfile.com
- AuthAPI key in header X-DOTFILE-API-KEY
Request body
Example request
{
"space_slug": "space_7hk92Q75dm0a",
"metadata": {
"custom_key": "true",
"my_data": "this is important",
"count": "42"
},
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
},
"tags": [
"High risk",
"8468f8e0-1067-4099-b8c3-824ae8b7204e"
],
"companies": [
{
"banking_information": {
"iban": "FR7630006000011234567890189",
"bic": "AGRIFRPPXXX"
},
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
}
}
],
"individuals": [
{
"banking_information": {
"iban": "FR7630006000011234567890189",
"bic": "AGRIFRPPXXX"
},
"phone_number": "+33601234567",
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
}
}
]
}Response
Case has been created in the workspace
ℹ️ Click to see full payload
Example response
{
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
},
"individuals": [
{
"banking_information": {
"iban": "FR7630006000011234567890189",
"bic": "AGRIFRPPXXX"
},
"phone_number": "+33601234567",
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
}
}
],
"companies": [
{
"banking_information": {
"iban": "FR7630006000011234567890189",
"bic": "AGRIFRPPXXX"
},
"custom_properties": {
"custom_text": "Custom properties text",
"custom_boolean": true,
"custom_date": "2012-12-12",
"custom_countries": [
"FR"
],
"custom_choices": [
"option1",
"option2"
],
"custom_numeric": 12.3,
"custom_property": null
}
}
]
}Changes
- info
endpoint added
- info