Get responses
Gets responses from the database.
GET
Authorizations
Use your Formbricks x-api-key to authenticate.
Query Parameters
Required range:
1 <= x <= 100
Required range:
x >= 0
Available options:
createdAt
, updatedAt
Available options:
asc
, desc
Response
200 - application/json
Responses retrieved successfully.
The ID of the response
The date and time the response was created
Example:
"2021-01-01T00:00:00.000Z"
The date and time the response was last updated
Example:
"2021-01-01T00:00:00.000Z"
Whether the response is finished
Example:
true
The ID of the survey
The ID of the contact
The ID of the ending
The data of the response
Example:
{
"question1": "answer1",
"question2": 2,
"question3": ["answer3", "answer4"],
"question4": { "subquestion1": "answer5" }
}
The variables of the response
Example:
{ "variable1": "answer1", "variable2": 2 }
The TTC of the response
Example:
{ "question1": 10, "question2": 20 }
The meta data of the response
Example:
{
"source": "https://example.com",
"url": "https://example.com",
"userAgent": {
"browser": "Chrome",
"os": "Windows",
"device": "Desktop"
},
"country": "US",
"action": "click"
}
The attributes of the contact
Example:
{
"attribute1": "value1",
"attribute2": "value2"
}
The single use ID of the response
The language of the response
Example:
"en"
The display ID of the response
Was this page helpful?