Skip to main content

Backend

Your backend needs to expose a set of HTTP endpoints that the Buildocs SDK calls at runtime.

Starting point

The recommended approach is to copy DemoController.cs from the Workforce Management example on GitHub and use it as your starting point. It already implements all required endpoints with working code.

If you are not using C# / .NET, use DemoController.cs as a reference — it shows exactly what each endpoint must receive and return. Translate the logic to your language or framework of choice, keeping the request/response structure the same.

The example also includes a Dockerfile — run docker compose up to bring the backend up instantly without any local environment setup. Use it to observe how the endpoints behave before porting anything.

For a full breakdown of each endpoint — request DTOs, response fields, and complete C# implementation — see Required API Endpoints.


Next step

Configure FormHostProvider to wire these endpoints into the Buildocs SDK.