This guide helps you set up a simple API call in the CX Genie customer service system to get form results from a specific customer form. You don’t need a technical background — just follow the steps carefully!
Use the correct base API URL depending on where you're working:
| Environment | API Root URL |
|---|---|
| QC UAT | https://api.uat.cxgenie.ai/api/v1/form-results-value/customer? |
To connect to the correct form, you need a Form ID. Here's how to find it:
`https://staging-app.cxgenie.ai/workspaces/{workspace-id}/form-builder/{form-id}`
The part at the end is your form ID.
Example: `b1f5393f-8387-41ea-98f6-34982a5c1bab`
You’ll need to add two types of info to the API URL:
Add it like this:
`?form_id=b1f5393f-8387-41ea-98f6-34982a5c1bab`
If you want to get specific data fields from the form (e.g., `transaction_id`, `agent_name`), add them like this:
`&properties=transaction_id,agent_name`
Tip: You can find the property names by opening your form in the form builder. Each input has a Property value — use that.
If you combine everything, your full API URL might look like:
You’ll receive a message in the chat window if everything works.
Example result:
{
"success": true
}
That means the API call worked and your data was fetched!
You’ve successfully added an API call to your workflow! The rest of your blocks will work as usual, and now you can fetch customer form results directly in your workflow.