Forum Discussion
Doranarni
Microsoft
Nov 28, 2018Is there an API to read Microsoft forms data
is it possible to read Microsoft forms submitted data . we are exploring concepts and would like to get data of submitted forms using API.
johndpalm
Jul 06, 2022Brass Contributor
It appears the URL format of the undocumented Forms API has changed. When I used the examples from earlier posts, they returned a 404. This worked for me:
# Get personal Forms
https://forms.office.com/formapi/api/forms
# Get all Forms for a Microsoft 365 Group
https://forms.office.com/formapi/api/{tenantId}/groups/{groupId}/forms
# Get the details for a group form
https://forms.office.com/formapi/api/{tenantId}/groups/{groupId}/forms('{formId}')
# Get the questions from a group form
https://forms.office.com/formapi/api/{tenantId}/groups/{groupId}/forms('{formId}')/questions
# Get the responses to a group form
https://forms.office.com/formapi/api/{tenantId}/groups/{groupId}/forms('{formId}')/responses