List forms
curl --request GET \
--url https://api.meshqu.com/v1/forms \
--header 'Authorization: Bearer <token>' \
--header 'X-MeshQu-Tenant-Id: <api-key>'import requests
url = "https://api.meshqu.com/v1/forms"
headers = {
"Authorization": "Bearer <token>",
"X-MeshQu-Tenant-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-MeshQu-Tenant-Id': '<api-key>'}
};
fetch('https://api.meshqu.com/v1/forms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meshqu.com/v1/forms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-MeshQu-Tenant-Id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meshqu.com/v1/forms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("X-MeshQu-Tenant-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meshqu.com/v1/forms")
.header("Authorization", "Bearer <token>")
.header("X-MeshQu-Tenant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meshqu.com/v1/forms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["X-MeshQu-Tenant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"form_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_version": 123,
"is_frozen": true,
"scope": "<string>",
"access_mode": "<string>",
"branding": {
"label": "<string>",
"description": "<string>",
"logo_url": "<string>"
},
"identifier_config": {
"label": "<string>",
"placeholder": "<string>",
"helper_text": "<string>"
},
"is_published": true,
"token_expires_at": "<string>",
"token_max_uses": 123,
"token_use_count": 123,
"created_at": "<string>",
"updated_at": "<string>",
"token_secret": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Forms
List forms
Returns paginated list of forms for the tenant.
GET
/
v1
/
forms
List forms
curl --request GET \
--url https://api.meshqu.com/v1/forms \
--header 'Authorization: Bearer <token>' \
--header 'X-MeshQu-Tenant-Id: <api-key>'import requests
url = "https://api.meshqu.com/v1/forms"
headers = {
"Authorization": "Bearer <token>",
"X-MeshQu-Tenant-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-MeshQu-Tenant-Id': '<api-key>'}
};
fetch('https://api.meshqu.com/v1/forms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meshqu.com/v1/forms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-MeshQu-Tenant-Id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meshqu.com/v1/forms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("X-MeshQu-Tenant-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meshqu.com/v1/forms")
.header("Authorization", "Bearer <token>")
.header("X-MeshQu-Tenant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meshqu.com/v1/forms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["X-MeshQu-Tenant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"form_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_version": 123,
"is_frozen": true,
"scope": "<string>",
"access_mode": "<string>",
"branding": {
"label": "<string>",
"description": "<string>",
"logo_url": "<string>"
},
"identifier_config": {
"label": "<string>",
"placeholder": "<string>",
"helper_text": "<string>"
},
"is_published": true,
"token_expires_at": "<string>",
"token_max_uses": 123,
"token_use_count": 123,
"created_at": "<string>",
"updated_at": "<string>",
"token_secret": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Authorizations
MeshQu API key passed as a bearer token: Authorization: Bearer mqu_…. Mint one in the console (Settings → API keys).
Tenant UUID for multi-tenant isolation. Required on all authenticated routes — validated before authentication (middleware/tenant.ts), so a missing or non-UUID header returns 400 (MISSING_TENANT_ID / INVALID_TENANT_ID) before the API key is checked.
Query Parameters
Required range:
1 <= x <= 100Required range:
x >= 0⌘I