Forms
List Forms
Retrieve a paginated list of forms for the blog. Each form includes its current response count.
get/forms
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Page number (starting from 1) JSON:API style page[number] is also accepted.
limitinteger
Example:10
Items per page JSON:API style page[size] is also accepted.
Response
Forms retrieved successfully
Example response
{
"jsonapi": {
"version": "1.0"
},
"data": [
{
"type": "forms",
"id": "123",
"attributes": {
"title": "Contact Form",
"form_setting": {
"inputList": [
{
"type": "text",
"label": "Name",
"required": true
}
]
},
"magnet_type": "DOWNLOAD",
"magnet_url": "https://example.com/ebook.pdf",
"magnet_file_src": "https://source.inblog.dev/files/ebook.pdf",
"created_at": "2024-01-15T09:30:00Z",
"response_count": 42
},
"relationships": {
"form_responses": {
"data": [
{
"type": "tags",
"id": "123"
}
]
}
}
}
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.