Prefill data in contact form 7 from rest api (GET REQUEST)

My current setup with contact form is as whenever someone clicks the form, I capture the employee id (from URM).

I want to achieve this :

  1. Since I already have the employee ID, I wanted to hit a GET Request on my backend server and get all the available details for that employee and pre-fill the form and ask only for the data that I don’t have on the backend.

Source: Ask Javascript Questions