Download DOCX
curl --request GET \
--url https://api.abigail.app/v1/openclaw/download/{job_id}import requests
url = "https://api.abigail.app/v1/openclaw/download/{job_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.abigail.app/v1/openclaw/download/{job_id}', 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.abigail.app/v1/openclaw/download/{job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.abigail.app/v1/openclaw/download/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
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.abigail.app/v1/openclaw/download/{job_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.abigail.app/v1/openclaw/download/{job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<string>"{
"error": true,
"error_code": "<string>",
"message": "<string>",
"agent_suggestion": "<string>"
}Retired Endpoints
Download DOCX
GET
/
v1
/
openclaw
/
download
/
{job_id}
Download DOCX
curl --request GET \
--url https://api.abigail.app/v1/openclaw/download/{job_id}import requests
url = "https://api.abigail.app/v1/openclaw/download/{job_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.abigail.app/v1/openclaw/download/{job_id}', 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.abigail.app/v1/openclaw/download/{job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.abigail.app/v1/openclaw/download/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
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.abigail.app/v1/openclaw/download/{job_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.abigail.app/v1/openclaw/download/{job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<string>"{
"error": true,
"error_code": "<string>",
"message": "<string>",
"agent_suggestion": "<string>"
}Download a completed Response to Office Action document in DOCX format.
Authentication
This endpoint uses signed URL tokens instead of API keys. The token is included in thedownload_url from the Poll Draft Status endpoint response.
No X-API-Key header is needed — the token IS the authentication.
Token expiration
Download tokens expire after 1 hour. If the token has expired, re-poll the draft status endpoint to get a fresh URL:# Get fresh download URL
curl -H "X-API-Key: abi_sk_..." \
https://api.abigail.app/v1/openclaw/draft-roa/status/roa_abc123
# Use the new download_url from the response
curl -o response.docx \
"https://api.abigail.app/v1/openclaw/download/roa_abc123?token=eyJhbGci..."
