Supergood | Agiloft API
Programmatically access contract records, counterparties, approvals, clause playbooks, documents, and obligation tracking from Agiloft with a stable REST API. Supergood builds and operates production-grade, unofficial Agiloft integrations so your team can automate CLM workflows—especially when your customers live in iManage—without heavy custom engineering.
Plain English: Agiloft (https://www.agiloft.com) is contract lifecycle management (CLM) and no-code workflow software used by sophisticated in-house legal teams to draft, negotiate, approve, sign, store, and renew contracts. It centralizes contract metadata, templates, clause libraries, approval workflows, and e-signature connectors, and it tracks obligations and key dates across the portfolio.
For a tech company integrating with Agiloft—particularly one fitting into customers’ iManage-centric document workflows—an unofficial API lets you pull structured contract data and status, push new contract requests and redlines, orchestrate approvals, send agreements for e-signature, and sync executed versions and metadata into the right iManage workspace and folder. You can build features like AI clause/risk analysis on every version, automated renewal reminders, client/matter-aware filing into iManage, and unified dashboards that marry matter data with contract milestones.
What is Agiloft?
Agiloft (https://www.agiloft.com) is an enterprise CLM and no-code automation platform for legal, procurement, and sales. It provides a configurable data model, workflow engine, and integrations to manage the full contract lifecycle—from request and authoring through negotiation, approval, signature, and obligation management.
Core product areas include:
- Contract Repository & Search (centralized records, full-text, custom fields)
- Authoring & Templates (clause library, playbooks, Word add-ins)
- Workflow & Approvals (multi-step routing, SLAs, escalations)
- Negotiation & Versioning (document versions, comments, tracked changes)
- E-Signature Connectors (DocuSign, Adobe Acrobat Sign, others)
- Obligations & Renewals (tasks, reminders, reports)
- Integrations & SSO (iManage, Microsoft 365, Salesforce, SAML/SCIM)
- Reporting & Audit (dashboards, activity history, export)
Common data entities:
- Contracts (title, type, parties, values, dates, status, stage)
- Counterparties/Companies (names, addresses, identifiers, risk attributes)
- Contacts/Users & Teams (owners, approvers, outside counsel)
- Approvals (steps, assignees, decisions, timestamps)
- Documents & Versions (files, version history, redline status, links)
- Clauses & Playbooks (standard language, fallback positions)
- Templates (MSA, NDA, SOW, order forms)
- E-Signature Envelopes (provider, recipients, status)
- Obligations/Tasks (deliverables, renewals, compliance checkpoints)
- Audit Events (who changed what, when, previous values)
The Agiloft Integration Challenge
Agiloft is powerful and highly configurable, which makes hands-free automation tricky:
- Custom schemas: Every tenant models tables and fields differently; “Contract Amount” might be amount_usd in one KB and total_value in another.
- Document lifecycle nuance: Template generation, Word-based redlines, and e-signature can be long-running and asynchronous.
- iManage alignment: Filing contracts into the correct client/matter workspaces and observing security, versions, and metadata requires careful mapping and check-in/check-out discipline.
- Authentication complexity: SSO/SAML, MFA, and session lifecycles complicate headless automation.
- Permissions & segregation: Role-based access varies by record type, business unit, and data region.
- Audit rigor: Legal teams require full traceability, idempotency, and immutable history for approvals and signatures.
How Supergood Creates Agiloft APIs
Supergood reverse-engineers authenticated browser flows and network interactions to deliver a resilient API endpoint layer for your Agiloft tenant.
- Handles username/password, SSO/SAML/OAuth, and MFA (SMS, email, TOTP) securely
- Maintains session continuity with automated refresh and change detection
- Normalizes core CLM objects (contracts, counterparties, approvals, documents) into consistent schemas while preserving raw fields for audit
- Aligns with customer entitlements and role-based permissions to ensure compliant access
- Supports high-volume operations (bulk imports, template generation, e-signature) with polling or webhooks for long-running jobs
- Bridges iManage: maps client/matter to Agiloft records, synchronizes document versions, and respects DMS security and metadata
Use Cases
iManage-Centric Drafting & Filing
- Create contract records from your app, generate first drafts, and push working versions into the correct iManage workspace/folder with client/matter metadata
- Keep iManage versions in sync as redlines progress; link the controlling Agiloft record for reliable provenance
Approval & Signature Orchestration
- Submit contracts into multi-step approvals; track decisions and SLAs
- Send for e-signature via connected providers and update Agiloft status when envelopes complete
Clause & Risk Analysis
- Pull latest versions to run AI clause/risk scoring and push structured findings back to Agiloft
- Trigger playbook-driven fallback language suggestions during negotiation
Renewal & Obligation Tracking
- Monitor upcoming renewals and obligations; create tasks and notify matter teams
- Sync key milestones to your product’s timelines and customer success workflows
Available Endpoints
Authentication
POST /sessions: Establish a session using credentials. Supergood manages MFA (SMS, email, TOTP) and SSO/SAML/OAuth when enabled. Returns a short-lived auth token maintained by the platform.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/sessions \
--header 'Authorization: Basic <Base64 encoded token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "[email protected]",
"password": "<password>",
"mfa": { "type": "totp", "code": "123456" }
}'
Example response
{
"authToken": "eyJhbGciOi...",
"expiresIn": 3600,
"user": {
"id": "u_glft_9c12b3",
"name": "Legal Ops",
"entitlements": ["contracts", "approvals", "documents", "counterparties"]
}
}
POST /sessions/refresh: Refresh an existing token to keep sessions uninterrupted.
Contracts
POST /contracts: Create or update a contract record and optionally generate a first draft from a template or link an initial document/version (including iManage).
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/contracts \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"externalId": "ctr-2026-00124",
"title": "Master Services Agreement - Acme",
"contractType": "MSA",
"counterparties": [
{"companyId": "co_7a21f9", "name": "Acme Corp"}
],
"owner": {"userId": "u_glft_9c12b3", "name": "Legal Ops"},
"department": "Sales",
"currency": "USD",
"amount": 250000.00,
"effectiveDate": "2026-03-01",
"terminationDate": "2029-03-01",
"autoRenew": false,
"stage": "draft",
"status": "in_progress",
"matter": {"clientId": "C-1042", "matterId": "M-3398", "reference": "C1042-M3398"},
"template": {"templateId": "tpl_msa_v5", "generate": true, "playbookId": "pb_saas_standard"},
"initialDocument": {
"source": "imanage",
"imanage": {
"library": "NRTS",
"workspaceId": "WS-44721",
"folderId": "F-Contracts/MSA",
"documentId": "D-883210",
"version": 1
}
},
"tags": ["priority", "q1-deal"]
}'
Example response
{
"contractId": "ct_41b8f1",
"status": "in_progress",
"stage": "draft",
"generatedDocument": {
"versionId": "ver_0a992e",
"fileName": "MSA_Acme_draft_v1.docx",
"imanageLink": {
"workspaceId": "WS-44721",
"documentId": "D-883210",
"version": 1
}
},
"createdAt": "2026-02-20T10:03:11Z"
}
GET /contracts: List contracts with filters for lifecycle stage, type, owners, counterparties, and renewal windows.
Query parameters
- status: in_progress | approved | executed | expired
- stage: draft | negotiation | approval | signature | active | renewal
- type: free-text or enum (e.g., MSA | NDA | SOW | Order Form)
- ownerId: string
- counterparty: string (name contains)
- updatedFrom, updatedTo: ISO 8601 timestamps
- renewalByDays: integer (e.g., contracts renewing within N days)
- matterRef: string (client/matter reference)
- page, pageSize: integers for pagination
Example response
{
"items": [
{
"contractId": "ct_41b8f1",
"title": "Master Services Agreement - Acme",
"contractType": "MSA",
"counterparties": ["Acme Corp"],
"owner": {"userId": "u_glft_9c12b3", "name": "Legal Ops"},
"status": "in_progress",
"stage": "negotiation",
"effectiveDate": "2026-03-01",
"renewalDate": null,
"amount": 250000.00,
"currency": "USD",
"matter": {"reference": "C1042-M3398"},
"updatedAt": "2026-02-20T12:41:03Z"
}
],
"page": 1,
"pageSize": 50,
"total": 1
}
Approvals
PATCH /contracts/{contractId}/approvals: Submit a contract into approval, advance steps, or record decisions with rationale and attachments.
curl --request PATCH \
--url https://api.supergood.ai/integrations/<integration_id>/contracts/ct_41b8f1/approvals \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"action": "approve",
"stepName": "Legal Review",
"approver": {"userId": "u_legal_04", "name": "Senior Counsel"},
"comment": "Redlines align to playbook fallback.",
"attachments": [
{"fileName": "risk_memo.pdf", "uploadToken": "upl_7fa223"}
],
"idempotencyKey": "appr-ct_41b8f1-legal-20260220"
}'
Example response
{
"contractId": "ct_41b8f1",
"currentStep": "Finance Review",
"lastAction": {
"stepName": "Legal Review",
"decision": "approved",
"actedAt": "2026-02-20T13:15:12Z",
"actedBy": {"userId": "u_legal_04", "name": "Senior Counsel"}
}
}
Documents & iManage Linking
POST /contracts/{contractId}/documents/versions: Upload or link a new document version and optionally check it into iManage with client/matter metadata.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/contracts/ct_41b8f1/documents/versions \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"fileName": "MSA_Acme_redlines_v3.docx",
"source": "upload",
"uploadToken": "upl_2b7e9c",
"imanage": {
"enabled": true,
"library": "NRTS",
"workspaceId": "WS-44721",
"folderId": "F-Contracts/MSA",
"documentId": "D-883210",
"checkIn": true,
"majorVersion": false,
"client": "C-1042",
"matter": "M-3398"
},
"metadata": {
"versionLabel": "v3 - customer redlines",
"status": "negotiation"
}
}'
Example response
{
"contractId": "ct_41b8f1",
"versionId": "ver_3e12d0",
"fileName": "MSA_Acme_redlines_v3.docx",
"checksum": "a2f4c0...",
"imanageLink": {
"workspaceId": "WS-44721",
"documentId": "D-883210",
"version": 3
},
"createdAt": "2026-02-20T13:44:02Z"
}
Technical Specifications
- Authentication: Username/password with MFA (SMS, email, TOTP) and SSO/SAML/OAuth where enabled; supports service accounts or customer-managed credentials
- Response format: JSON with consistent resource schemas and pagination across modules
- Rate limits: Tuned for enterprise throughput while honoring customer entitlements and usage controls
- Session management: Automatic reauth and cookie/session rotation with health checks
- Data freshness: Near real-time retrieval of contracts, approvals, documents, and obligation tasks
- Security: Encrypted transport, scoped tokens, and audit logging; respects Agiloft role-based permissions and iManage workspace security
- Webhooks: Optional asynchronous delivery for long-running workflows (e.g., template generation, e-signature completion, bulk imports)
Performance Characteristics
- Latency: Sub-second responses for list/detail queries under normal load; authoring and e-signature timings reflect underlying platform behavior
- Throughput: Designed for high-volume contract ingestion, approval synchronization, and document versioning
- Reliability: Retry logic, backoff, and idempotency keys minimize duplicates and support at-least-once processing
- Adaptation: Continuous monitoring for UI/API changes with rapid adapter updates
Getting Started
- Schedule Integration Assessment
Book a 30-minute session to confirm your modules, licensing, authentication, and iManage filing patterns.
- Supergood Builds and Validates Your API
We deliver a hardened Agiloft adapter tailored to your workflows, custom fields, and DMS requirements.
- Deploy with Monitoring
Go live with continuous monitoring and automatic adjustments as Agiloft and iManage evolve.
Frequently Asked Questions
Q: Which Agiloft modules can this integration cover?
Supergood supports workflows commonly used for CLM, including Contract Repository, Authoring/Templates (clause library), Approvals & Workflows, Documents/Versions, E-Signature (DocuSign/Adobe), and Obligations/Renewals—subject to your licensing and entitlements. We scope coverage during integration assessment.
Q: How are MFA and SSO handled for automation?
We support username/password + MFA (SMS, email, TOTP) and can operate behind SSO/SAML/OAuth when enabled. Sessions are refreshed automatically with secure challenge handling and monitoring for session expiry.
Q: Can you file documents into iManage and keep versions in sync?
Yes. We map Agiloft contracts to iManage client/matter workspaces and folders, handle check-in/check-out, and update version numbers and metadata. We respect iManage security models and can mirror filing rules your teams already use.
Q: How do you handle custom fields and tables?
We normalize a core schema (e.g., title, type, parties, dates, values, stage) and support per-tenant field mapping for custom attributes. Raw field/value payloads are preserved for audit and round-tripping when required.
Q: Do you support e-signature workflows?
Yes. We can create envelopes via configured providers, poll for status or receive webhooks, and update the Agiloft contract’s stage/status upon completion while archiving the executed copy and filing it into iManage.
Q: Can you import legacy contracts and extract obligations?
We support bulk ingestion with job status polling and can attach AI-extracted obligations back to the contract record as tasks with owners and due dates.
Related Integrations
iManage API - Programmatically work with iManage workspaces and documents with Supergood
Ready to automate your Agiloft workflows?
Supergood can have your Agiloft integration live in days—with deep iManage alignment and no ongoing engineering maintenance.