applications.form
Returns a form’s question definitions and any existing submission status.
GET
/api/v1/{locale}/applications/{slug}API scope applications.form
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
slug | string | Required | URL slug of the resource. |
This endpoint takes no request body.
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request GET \
-H "Authorization: Bearer $MINEXON_API_KEY" \
"${MINEXON_BASE_URL}/api/v1/en/applications/example"Response
HTTP 200 · application/json
The fields below are inside the response’s data object.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
application | object | Required | Form definition, requirements and questions. |
existing | string | null | Required | Current player submission status. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
application.questions[].key | string | Conditional | Question key for the answers object. |
application.questions[].type | string | Conditional | Question input type. |
application.questions[].label | string | Conditional | Question text to display. |
application.questions[].options | string[] | Conditional | Accepted values for choice questions. |
application.questions[].required | boolean | Conditional | Whether the question is required. |
application.questions | array | Required | Question keys and rules configured in the admin panel. |
application.revision | integer | Required | Form revision to include with a submission. |
Selected fields from an example response
{
"data": {
"locale": "en",
"application": {
"id": 2,
"slug": "events",
"title": "Events team",
"status": "open",
"revision": 3,
"questions": [
{
"key": "q1",
"label": "When can you help?",
"type": "text",
"required": true,
"options": []
}
]
},
"existing": null
}
}