Landingpages
GET
https://funnels.qreq.com/api/templates
curl --request GET \
--url 'https://funnels.qreq.com/api/templates' \
--header 'Authorization: Bearer {api_key}'
{
"data": [
{
"id": 1,
"title": "Business Landing Page",
"category": "Corporate",
"thumbnail": "https://funnels.qreq.com/uploads/templates/1.png",
"preview_url": "https://funnels.qreq.com/template/1",
"status": "active",
"created_at": "2025-01-10 09:30:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 10
}
}
GET
https://funnels.qreq.com/api/templates/{template_id}
curl --request GET \ --url 'https://funnels.qreq.com/api/templates/{template_id}' \ --header 'Authorization: Bearer {api_key}'
{
"data": {
"id": 1,
"title": "Business Landing Page",
"description": "Professional corporate landing page layout.",
"category": "Corporate",
"thumbnail": "https://funnels.qreq.com/uploads/templates/1.png",
"preview_url": "https://funnels.qreq.com/template/1",
"blocks": [
{
"block_id": 101,
"block_name": "Hero Section",
"content": "
Welcome to Our Business
" } ], "status": "active", "created_at": "2025-01-10 09:30:00" } }
POST
https://funnels.qreq.com/api/templates
| Parameter | Einzelheiten | Beschreibung |
|---|---|---|
| title | ErforderlichZeichenfolge | Landing page title |
| category_id | Erforderlichmissing_translation: api_documentation.integer | Category of the template |
| thumbnail | OptionalDatei | Upload preview image |
| status | OptionalZeichenfolge | active / inactive |
curl --request POST \ --url 'https://funnels.qreq.com/api/templates' \ --header 'Authorization: Bearer {api_key}' \ --header 'Content-Type: multipart/form-data' \ --form 'title=Business Landing Page' \ --form 'category_id=2' \ --form 'status=active' \ --form 'thumbnail=@/path/to/file.png'
DELETE
https://funnels.qreq.com/api/templates/{template_id}
curl --request DELETE \ --url 'https://funnels.qreq.com/api/templates/{template_id}' \ --header 'Authorization: Bearer {api_key}'