php - How to select the Typeform API on a hidden field?

Solution:
It's not exactly what you're asking for, but have you tried using thequery
param?
The documentation says:
query
(string): Limit request to only responses that that include the specified term.
From my tests, the query argument will be searched in all the fields, including hidden fields.
For example:
GET https://api.typeform.com/forms/{form_id}/responses?query=<user_id_expected_in_hidden_field>
Authorization: Bearer <access_token>
200 OK
Content-Type: application/json
{
"total_items": N,
"page_count": M,
"items": [ {...}, ... ]
}
Answer
Solution:
You just only need to add a value that you would like to filter.
For example,
I want to get the reponse that contains phone number 123456789
https://api.typeform.com/forms/{form_id}/responses?query=123456789
Hope this help
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: invalid argument supplied for foreach() laravel
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.