PaperOffice AI Relations AI — CRM API
CRM signals derived from documents: account insights, upsell opportunities, at-risk accounts, sentiment history and linked documents.
CRM signals derived from documents: account insights, upsell opportunities, at-risk accounts, sentiment history and linked documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/paperoffice-ai:paperoffice-ai-relations-ai-crm-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PaperOffice AI Relations AI — CRM API
version: R20261120.1802
summary: 'PaperOffice AI, the Document Operations Platform: OCR, IDP, DMS, PDF, e-signatures, anonymization, workflows, translation, voice.'
description: 'Generated from the PaperOffice API SOT (release `R20261120.1802`). Agent documentation: llms.txt (index), integration guide and llms-full.txt. Check each response media type; downloads may be binary.
JSON success envelopes commonly carry `status: "success"`; JSON errors commonly carry `status: "error"`, `code` and `message`. Job endpoints hold the connection while `client_wait=true` (default) and answer HTTP 202 with `poll_url` when the hold window ends — poll `GET /job/get/{job_id}`. Operations that share one method and path list their documented variants in `x-paperoffice-variants`.'
servers:
- url: https://api.paperoffice.ai/latest
security:
- bearerAuth: []
tags:
- name: Relations AI — CRM
description: 'CRM signals derived from documents: account insights, upsell opportunities, at-risk accounts, sentiment history and linked documents.'
paths:
/crm_intelligence/at_risk:
get:
operationId: po-risk-analysis-get-atrisk-accounts
summary: Get at-risk accounts
tags:
- Relations AI — CRM
description: Accounts with high churn risk. Sorted by risk score, including factors and recommendations.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-risk-analysis-get-atrisk-accounts.md
parameters:
- name: threshold
in: query
required: false
schema:
type: string
description: 'Churn risk threshold (default: 0.5)'
- name: limit
in: query
required: false
schema:
type: string
description: 'Max results (default: 20, max: 100)'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Risiko-Accounts
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
accounts:
type: array
items:
type: object
total:
type: number
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/document_links/{crm_account_id}:
get:
operationId: po-documents-get-linked-documents
summary: Get linked documents
tags:
- Relations AI — CRM
description: 'Documents linked to a CRM account. Link Types: - invoice - Invoices - contract - Contracts - quote - Quotes - correspondence - Correspondence - related - Other'
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-documents-get-linked-documents.md
parameters:
- name: crm_account_id
in: path
required: true
schema:
type: string
- name: limit
in: query
required: false
schema:
type: string
description: 'Max results (default: 50, max: 200)'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
linked_documents:
type: array
items:
type: object
total:
type: number
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/insights:
get:
operationId: po-insights-get-all-insights
summary: Get all insights
tags:
- Relations AI — CRM
description: 'All AI Insights across accounts or filtered. Insight Types: - sentiment - communication_sentiment - health_score - relationship_health - churn_risk - attrition_risk - engagement - engagement_level - upsell_potential...'
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-insights-get-all-insights.md
parameters:
- name: account_id
in: query
required: false
schema:
type: string
description: 'Optional: Filter by CRM account'
- name: type
in: query
required: false
schema:
type: string
description: 'Optional: sentiment, health_score, churn_risk, engagement, upsell_potential'
- name: min_score
in: query
required: false
schema:
type: string
description: 'Optional: Minimum score'
- name: max_score
in: query
required: false
schema:
type: string
description: 'Optional: Maximum score'
- name: limit
in: query
required: false
schema:
type: string
description: 'Max results (default: 50, max: 200)'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Alle Insights
properties:
status:
type: string
description: HTTP-Level Status
enum:
- success
- error
job_id:
type: string
pattern: ^poai-job_.*
message:
type: string
description: Menschenlesbare Statusmeldung
pipeline:
type: string
operation:
type: string
description: Ausgefuehrte Operation
processing_time:
type: string
description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
result:
type: object
description: Das eigentliche Verarbeitungsergebnis
properties:
status:
type: string
description: Job-Level Status
enum:
- completed
- failed
- timeout
message:
type: string
description: Pipeline-spezifische Statusmeldung
duration_ms:
type: string
description: Reine Pipeline-Verarbeitungszeit in ms
output:
type: object
properties:
insights:
type: array
items:
type: object
categories:
type: array
items:
type: string
required:
- status
- job_id
- result
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/insights/{crm_account_id}:
get:
operationId: po-insights-get-account-insights
summary: Get account insights
tags:
- Relations AI — CRM
description: All AI insights for a specific CRM account. Including Overall Health Score and Risk Level.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-insights-get-account-insights.md
parameters:
- name: crm_account_id
in: path
required: true
schema:
type: string
- name: account_id
in: query
required: false
schema:
type: integer
description: Optional CRM account ID for targeted insights.
- name: type
in: query
required: false
schema:
type: string
description: Filter by insight type (e.g. 'churn_risk', 'sentiment').
- name: min_score
in: query
required: false
schema:
type: number
description: Minimum score value for filtering.
- name: max_score
in: query
required: false
schema:
type: number
description: Maximum score threshold for filtering results.
- name: limit
in: query
required: false
schema:
type: integer
default: 50
maximum: 200
description: Maximum number results.
- name: offset
in: query
required: false
schema:
type: integer
default: 0
description: Offset for pagination.
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Account-Insights
properties:
status:
type: string
description: HTTP-Level Status
enum:
- success
- error
job_id:
type: string
pattern: ^poai-job_.*
message:
type: string
description: Menschenlesbare Statusmeldung
pipeline:
type: string
operation:
type: string
description: Ausgefuehrte Operation
processing_time:
type: string
description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
result:
type: object
description: Das eigentliche Verarbeitungsergebnis
properties:
status:
type: string
description: Job-Level Status
enum:
- completed
- failed
- timeout
message:
type: string
description: Pipeline-spezifische Statusmeldung
duration_ms:
type: string
description: Reine Pipeline-Verarbeitungszeit in ms
output:
type: object
properties:
insights:
type: array
items:
type: object
generated_at:
type: string
format: date-time
required:
- status
- job_id
- result
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/opportunities:
get:
operationId: po-opportunities-get-upsell-opportunities
summary: Get upsell opportunities
tags:
- Relations AI — CRM
description: Identify upselling opportunities. Accounts with high upselling potential, sorted by score.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-opportunities-get-upsell-opportunities.md
parameters:
- name: min_potential
in: query
required: false
schema:
type: string
description: 'Minimum upsell potential (default: 0.3)'
- name: limit
in: query
required: false
schema:
type: string
description: 'Max results (default: 20, max: 100)'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Upsell-Moeglichkeiten
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
opportunities:
type: array
items:
type: object
total:
type: number
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/sentiment/{crm_account_id}:
get:
operationId: po-sentiment-get-sentiment-history
summary: Get sentiment history
tags:
- Relations AI — CRM
description: Sentiment analysis for an account over time. Shows sentiment trend from emails and notes.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-sentiment-get-sentiment-history.md
parameters:
- name: crm_account_id
in: path
required: true
schema:
type: string
- name: days
in: query
required: false
schema:
type: string
description: 'History period in days (default: 90, max: 365)'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Sentiment-Verlauf
properties:
status:
type: string
description: HTTP-Level Status
enum:
- success
- error
job_id:
type: string
pattern: ^poai-job_.*
message:
type: string
description: Menschenlesbare Statusmeldung
pipeline:
type: string
operation:
type: string
description: Ausgefuehrte Operation
processing_time:
type: string
description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
result:
type: object
description: Das eigentliche Verarbeitungsergebnis
properties:
status:
type: string
description: Job-Level Status
enum:
- completed
- failed
- timeout
message:
type: string
description: Pipeline-spezifische Statusmeldung
duration_ms:
type: string
description: Reine Pipeline-Verarbeitungszeit in ms
output:
type: object
properties:
history:
type: array
items:
type: object
avg_score:
type: number
trend:
type: string
required:
- status
- job_id
- result
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/crm_intelligence/stats:
get:
operationId: po-statistics-get-crm-stats
summary: Get CRM statistics
tags:
- Relations AI — CRM
description: Global CRM Intelligence Statistics. Overview of all accounts, insights, risks, and opportunities.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-statistics-get-crm-stats.md
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: CRM-Statistiken
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
stats:
type: object
period:
type: string
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
components:
responses:
Error:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
schemas:
ErrorEnvelope:
type: object
properties:
status:
type: string
const: error
code:
type: string
message:
type: string
retryable:
type: boolean
required:
- status
- message
additionalProperties: true
securitySchemes:
signingToken:
type: apiKey
in: query
name: token
description: Signer capability from the signing link. Protect it as a credential.
bearerAuth:
type: http
scheme: bearer
description: '`po_sk_` (secret key) or `po_ut_` (user token) server-side; `po_pk_` is public, scope/budget-capped and host-allowlisted. Origin can be forged outside browsers and is not caller authentication. Documentation routes under `/docs/` also answer without a Bearer (visitor tier).'
externalDocs:
description: Agent documentation (llms.txt)
url: https://api.paperoffice.ai/latest/docs/llms.txt