Get Completed Documents by ID
1. Endpoint Details
Endpoint Details
HTTP Method
GET
Endpoint URL
/api/v1/apiwarehouse/{document_id}/get-completed/documents
2. Required Headers
acceptapplication/jsonx-api-keyYour API authentication key3. Example Request
Bash
curl --location 'https://api.swellsign.com/api/v1/apiwarehouse/68a979e3dea777b33b632d24/get-completed/documents'
--header 'accept: application/json'
--header 'x-api-key: xWuCfym7ad5f674t3ry7aDpZ3gDJwtE34Ib9raiPEM5xk6IMLBz6gA'4. Example Response
Json
{
"success": true,
"data": {
"document_id": "68a979e9dea777b33b632d24",
"document_name": "Test",
"created_by": "686e00764347ec9cdcd9d8fe",
"organization": "686d7644b179e714014d9025",
"template_id": "6895935d4abde5b38409fd81",
"status": "complete",
"file_download_url": "https://ihl-resources.s3.amazonaws.com/686d7644b179e714014d9025/filled_documents/Test.pdf?AWSAccessKeyId=AKIAVDWNTGGIKK7YLC7W&Expires=1756110808&Signature=3IxLA4tNEGMo8%2Bvk8wC%2BGYt2MCg%3D&response-content-disposition=inline&response-content-type=application%2Fpdf",
"document_download_url": "https://ihl-resources.s3.amazonaws.com/686d7644b179e714014d9025/documents/Test.pdf?AWSAccessKeyId=AKIAVDWNTGGIKK7YLC7W&Expires=1756110808&Signature=UhQs0oGn58uEHgby5UKE4gyI%2BGw%3D&response-content-disposition=inline&response-content-type=application%2Fpdf",
"created_at": "2025-08-23T08:20:57.033Z",
"updated_at": "2025-08-23T08:22:45.021Z"
}
}5. Response Fields
successbooleanIndicates if the request was successful
document_idstringUnique identifier for the document
document_namestringName of the document
created_bystringUser ID who created the document
organizationstringOrganization ID
template_idstringTemplate ID used for the document
statusstringCurrent status of the document
file_download_urlstringPre-signed URL to download the filled document
document_download_urlstringPre-signed URL to download original document
created_atstringTimestamp when document was created
updated_atstringTimestamp when document was last updated
