curl --request GET \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number} \
--header 'Authorization: <api-key>'import requests
url = "https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}', 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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}",
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: <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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"downloadUrl": "https://storage.googleapis.com/bucket/acme/.../formTemplates/.../V-001/....docx?X-Goog-Expires=900&X-Goog-Signature=...",
"fileName": "Certificate of Insurance.docx",
"contentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"expiresAt": "2026-07-02T09:30:00.000Z"
}Download Form
Download the original DOCX template or PDF file behind a form in the
company’s form library. Get the FM-XXXX number from List Forms
(listForms). An issued packet’s PDF comes from Get Form Packet Download
URL (getFormPacketDownloadUrl) instead.
Returns a short-lived signed URL to download a form’s current version
original uploaded file, addressed by its stable FM-XXXX number. Works
for both DOCX templates and static PDF forms — the file you get back is the
DOCX (templates) or PDF (static forms) exactly as it was uploaded.
Fetch the bytes with a plain GET of downloadUrl — they come straight
from cloud storage, never through this API. The URL is signed with an
attachment; filename="<fileName>" content disposition and expires at
expiresAt (15 minutes); request a fresh one instead of caching it.
Pair this with List Forms to discover a form’s number.
Required permission: form.download
curl --request GET \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number} \
--header 'Authorization: <api-key>'import requests
url = "https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}', 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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}",
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: <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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://go.aiinsurance.io/api/v1/companies/{companyId}/forms/{number}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"downloadUrl": "https://storage.googleapis.com/bucket/acme/.../formTemplates/.../V-001/....docx?X-Goog-Expires=900&X-Goog-Signature=...",
"fileName": "Certificate of Insurance.docx",
"contentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"expiresAt": "2026-07-02T09:30:00.000Z"
}Authorizations
Path Parameters
Response
Signed download URL for the form's current-version file
A short-lived signed URL to download a form's current-version file, plus the metadata a caller needs to save it.
