API v2 Documentation (Beta)
Client API - Response
Client API - Contacts
Client API - Display
Client API - Environment
Client API - User
Client API - File Upload
Roles
Me
Management API - Responses
Management API - Contacts
Management API - Contact Attribute Keys
Management API - Surveys - Contact Links
Management API - Webhooks
Organizations API - Teams
Organizations API - Project Teams
Organizations API - Users
Client API - Response
Create Response
Create a response for a survey and its fields with the user’s responses. The userId & meta here is optional
POST
/
client
/
{environmentId}
/
responses
Copy
Ask AI
curl --request POST \
--url https://app.formbricks.com/api/v2/client/{environmentId}/responses \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "survey123",
"responses": {}
}'
Copy
Ask AI
{
"responseId": "response123"
}
Body
application/json · object
Response
201 - application/json
Created
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://app.formbricks.com/api/v2/client/{environmentId}/responses \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "survey123",
"responses": {}
}'
Copy
Ask AI
{
"responseId": "response123"
}
Assistant
Responses are generated using AI and may contain mistakes.