Retrieve Forms
Get all available forms for your game.
Headers
Your game's API key for authentication. You can find this in your game settings on the dashboard.
Request
curl -X GET "https://indieop.com/api/sdk/forms" \
-H "X-API-Key: your_game_api_key_here"
Response
{
"success": true,
"data": {
"forms": [
{
"name": "Player Feedback",
"tag": "feedback",
"fields": [
{
"field_key": "rating",
"label": "Overall Rating",
"field_type": "rating",
"options": null
},
{
"field_key": "comments",
"label": "Additional Comments",
"field_type": "text",
"options": null
},
{
"field_key": "difficulty",
"label": "Difficulty Level",
"field_type": "dropdown",
"options": ["Easy", "Medium", "Hard"]
}
]
}
]
}
}
Response Schema
Indicates if the request was successful.
Container object for the response data.
Show nested properties
Array of form objects.
The display name of the form.
Unique identifier for the form. Use this when submitting form data.
Array of field objects for this form.
Unique identifier for the field.
Display label for the field.
Type of field. Possible values:
text- Free-form text inputdropdown- Select from optionscheckbox- Boolean valuerating- Numeric rating (1-5)
Available options for dropdown fields. null for other field types.
Error Responses
Missing or invalid API key. Verify your X-API-Key header is correct.
Game not found or inactive. Verify your game exists and is active in the dashboard.
Rate limit exceeded (100 requests per minute). Wait before retrying.
Something went wrong. Try again or contact support if the issue persists.
See Error Codes for detailed information about all possible errors.