Skip to content

Create Data Source ​

Create a new data source configuration for use in dashboard widgets. Requires ADMIN permissions.

Parameters ​

name * are required parametersdata typedescription
body.name*stringThe display name of the data source
body.type*stringThe type of data source (e.g., form, task, training)
body.queryobjectQuery configuration to define what data is fetched
body.dashboardIdstringOptional dashboard ID to associate the data source with

Return Value ​

The created data source configuration.

Examples ​

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/data-source" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ..." \
  -d '{"name": "Incident Count by Month", "type": "form", "query": {"formId": "incident-form-123"}}'

ENDPOINTS

post/api/{targetPath}/data-source