Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.1.0
info:
title: TripleBooks API
version: '2026-11-27'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 23 operation(s) read from 5 public documentation page(s) (each operation
names its page in x-source). This is not the provider''s published contract; TripleBooks has published no machine-readable contract that the
pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 4
documentation: 19
pages-with-code: 4
pages-read: 5
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-11-27'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://docs.triplebooks.com/api
- https://docs.triplebooks.com/api/exchange
- https://docs.triplebooks.com/api/helpdesk
- https://docs.triplebooks.com/api/crm/email
- https://docs.triplebooks.com/api/crm/leads
servers:
- url: https://app.triplebooks.com
paths:
/api/crm/leads:
get:
operationId: get_api_crm_leads
tags:
- Api
summary: GET /api/crm/leads
x-source: https://docs.triplebooks.com/api/crm/leads
parameters:
- name: entityId
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiCrmLeadsResponse'
x-evidence:
kind: code-example
language: curl
snippet: 'curl JavaScript Go Python Java C# curl -X GET "https://example.com/api/crm/leads?entityId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
200 Empty Create lead Server URL loading... POST / api / crm / leads Send Authorization Query Body Authorization: Bearer ak_... . Required
scope: write:crm . Pass entityId query or JSON body (must match the key’s entity). Session cookie auth with x-entity-id is also suppo'
/api/crm/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08:
get:
operationId: get_api_crm_leads_497f6eca_6276_4993_bfeb_53cbbbba6f08
tags:
- Api
summary: Get lead
description: Get lead
x-source: https://docs.triplebooks.com/api/crm/leads
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/crm/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08/activities:
get:
operationId: get_api_crm_leads_497f6eca_6276_4993_bfeb_53cbbbba6f08_activities
tags:
- Api
summary: Add activity on a lead
description: Add activity on a lead
x-source: https://docs.triplebooks.com/api/crm/leads
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/crm/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08/stage:
get:
operationId: get_api_crm_leads_497f6eca_6276_4993_bfeb_53cbbbba6f08_stage
tags:
- Api
summary: Move lead stage (win/loss automation)
description: Move lead stage (win/loss automation)
x-source: https://docs.triplebooks.com/api/crm/leads
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/crm/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08/timeline:
get:
operationId: get_api_crm_leads_497f6eca_6276_4993_bfeb_53cbbbba6f08_timeline
tags:
- Api
summary: Lead activity timeline
description: Lead activity timeline
x-source: https://docs.triplebooks.com/api/crm/leads
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/crm/outbound-email:
post:
operationId: post_api_crm_outbound_email
tags:
- Api
summary: POST /api/crm/outbound-email
x-source: https://docs.triplebooks.com/api/crm/email
parameters:
- name: entityId
in: query
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiCrmOutboundEmailRequest'
responses:
'201':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiCrmOutboundEmailResponse'
x-evidence:
kind: code-example
language: curl
snippet: 'curl JavaScript Go Python Java C# curl -X POST "https://example.com/api/crm/outbound-email?entityId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
\ -H "Content-Type: application/json" \ -d ''{ "leadId": "3c6e2b8e-0e8f-48db-8791-27271df10113", "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d",
"channel": "gmail", "subject": "string", "htmlBody": "string" }'' 200 400 Empty { "error": "string" } List outb'
/api/crm/outbound-email-connections:
get:
operationId: get_api_crm_outbound_email_connections
tags:
- Api
summary: List outbound email connections
description: Returns a list of outbound email connections for the specified entity.
x-source: https://docs.triplebooks.com/api/crm/email
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/auctions:
get:
operationId: get_api_exchange_auctions
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: receivableId
in: query
required: false
schema:
type: string
description: Filter by receivable
- name: status
in: query
required: false
schema:
type: string
description: open , closed , won
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeAuctionsResponse'
x-evidence:
kind: documentation
post:
operationId: post_api_exchange_auctions
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiExchangeAuctionsRequest'
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/backstops:
get:
operationId: get_api_exchange_backstops
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: entityId
in: query
required: false
schema:
type: string
description: Market maker entity
- name: status
in: query
required: false
schema:
type: string
description: active , utilized , expired
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeBackstopsResponse'
x-evidence:
kind: documentation
/api/exchange/collections:
get:
operationId: get_api_exchange_collections
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: receivableId
in: query
required: false
schema:
type: string
description: Filter by receivable
- name: entityId
in: query
required: true
schema:
type: string
description: Entity ID. Must match the API key’s entity.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeCollectionsResponse'
x-evidence:
kind: documentation
post:
operationId: post_api_exchange_collections
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiExchangeCollectionsRequest'
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/participants:
get:
operationId: get_api_exchange_participants
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: entityId
in: query
required: false
schema:
type: string
description: Filter by entity
- name: role
in: query
required: false
schema:
type: string
description: seller , investor , market-maker
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeParticipantsResponse'
x-evidence:
kind: documentation
post:
operationId: post_api_exchange_participants
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiExchangeParticipantsRequest'
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/portfolio:
get:
operationId: get_api_exchange_portfolio
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Investor entity ID
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangePortfolioResponse'
x-evidence:
kind: documentation
/api/exchange/put-backs:
get:
operationId: get_api_exchange_put_backs
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: entityId
in: query
required: true
schema:
type: string
description: Entity ID
- name: status
in: query
required: false
schema:
type: string
description: pending , accepted , rejected
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangePutBacksResponse'
x-evidence:
kind: documentation
post:
operationId: post_api_exchange_put_backs
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiExchangePutBacksRequest'
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/receivables:
get:
operationId: get_api_exchange_receivables
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: sellerId
in: query
required: false
schema:
type: string
description: Filter by seller
- name: status
in: query
required: false
schema:
type: string
description: pending , auctioned , funded , collected , put-back
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeReceivablesResponse'
x-evidence:
kind: documentation
post:
operationId: post_api_exchange_receivables
tags:
- Api
summary: Receivables Exchange API reference for the receivables exchange — participants, receivables, auctions, portfolio, collections,
put-backs, and backstops.
x-source: https://docs.triplebooks.com/api/exchange
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostApiExchangeReceivablesRequest'
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/api/exchange/stats:
get:
operationId: get_api_exchange_stats
tags:
- Api
summary: Exchange statistics
x-source: https://docs.triplebooks.com/api/exchange
parameters:
- name: entityId
in: query
required: false
schema:
type: string
description: Filter by entity (admin)
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiExchangeStatsResponse'
x-evidence:
kind: documentation
/api/helpdesk/tickets:
get:
operationId: get_api_helpdesk_tickets
tags:
- Api
summary: GET /api/helpdesk/tickets
x-source: https://docs.triplebooks.com/api/helpdesk
parameters:
- name: entityId
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiHelpdeskTicketsResponse'
x-evidence:
kind: code-example
language: curl
snippet: 'curl JavaScript Go Python Java C# curl -X GET "https://example.com/api/helpdesk/tickets?entityId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
200 401 403 [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5", "ticketNumber": "string",
"subject": "string", "description": "string", "status": "new", "priority": "low", "channel": "email", "contactEmail": "string'
/api/helpdesk/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08:
get:
operationId: get_api_helpdesk_tickets_497f6eca_6276_4993_bfeb_53cbbbba6f08
tags:
- Api
summary: Get ticket with messages
x-source: https://docs.triplebooks.com/api/helpdesk
parameters:
- name: entityId
in: query
required: false
schema:
type: string
description: Entity UUID; must match the API key’s entity when using Bearer auth.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiHelpdeskTickets497F6Eca62764993Bfeb53Cbbbba6F08Respons'
x-evidence:
kind: documentation
/api/ledger/accounts:
get:
operationId: get_api_ledger_accounts
tags:
- Api
summary: GET /api/ledger/accounts
x-source: https://docs.triplebooks.com/api
parameters:
- name: entityId
in: query
required: false
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: "curl \"https://app.triplebooks.com/api/ledger/accounts?entityId=<uuid>\" -H \"Authorization: Bearer ak_...\" \n Create and\
\ revoke keys under Settings → API keys . Rate limits apply per key. \n Multi-tenant routing \n Each organization has an isolated database.\
\ Requests are scoped to one entity. Pass entityId in this order (first match wins): \n entityId or entity_id query parameter \n x-entity-id\
\ header —"
components:
schemas:
GetApiCrmLeadsResponse:
type: object
properties:
error:
type: string
PostApiCrmOutboundEmailRequest:
type: object
properties:
leadId:
type: string
connectionId:
type: string
channel:
type: string
subject:
type: string
htmlBody:
type: string
PostApiCrmOutboundEmailResponse:
type: object
properties:
error:
type: string
GetApiExchangeAuctionsResponse:
type: object
properties:
auctions:
type: array
description: Array of auctions with receivable, bids, winning bid, and status.
PostApiExchangeAuctionsRequest:
type: object
properties:
action:
type: string
description: '"create" | "bid"'
receivableId:
type: string
reservePrice:
type: number
endTime:
type: string
description: ISO8601
bidAmount:
type: number
investorId:
type: string
required:
- action
- receivableId
- reservePrice
- endTime
- bidAmount
- investorId
GetApiExchangeBackstopsResponse:
type: object
properties:
backstops:
type: array
description: Array of backstop commitments with capacity, pricing, and utilization.
GetApiExchangeCollectionsResponse:
type: object
properties:
collections:
type: array
description: Array of collection records with amount, date, and allocation to investors.
PostApiExchangeCollectionsRequest:
type: object
properties:
entityId:
type: string
receivableId:
type: string
amount:
type: number
collectionDate:
type: string
description: YYYY-MM-DD
reference:
type: string
required:
- entityId
- receivableId
- amount
- collectionDate
- reference
GetApiExchangeParticipantsResponse:
type: object
properties:
participants:
type: array
description: Array of participants with role, entity ID, and registration status.
PostApiExchangeParticipantsRequest:
type: object
properties:
entityId:
type: string
role:
type: string
description: '"seller" | "investor" | "market-maker"'
kycStatus:
type: string
limits:
type: object
required:
- entityId
- role
- kycStatus
- limits
GetApiExchangePortfolioResponse:
type: object
properties:
portfolio:
type: object
description: Portfolio summary with positions, outstanding receivables, realized returns, and aging.
GetApiExchangePutBacksResponse:
type: object
properties:
putBacks:
type: array
description: Array of put-back requests with receivable, reason, and resolution.
PostApiExchangePutBacksRequest:
type: object
properties:
action:
type: string
description: '"initiate" | "resolve"'
entityId:
type: string
receivableId:
type: string
reason:
type: string
putBackId:
type: string
accepted:
type: boolean
required:
- action
- entityId
- receivableId
- reason
- putBackId
- accepted
GetApiExchangeReceivablesResponse:
type: object
properties:
receivables:
type: array
description: Array of receivables with invoice details, face value, due date, and status.
PostApiExchangeReceivablesRequest:
type: object
properties:
entityId:
type: string
invoiceId:
type: string
faceValue:
type: number
currency:
type: string
description: '"USD"'
dueDate:
type: string
description: YYYY-MM-DD
debtorId:
type: string
metadata:
type: object
required:
- entityId
- invoiceId
- faceValue
- currency
- dueDate
- debtorId
- metadata
GetApiExchangeStatsResponse:
type: object
properties:
totalReceivablesSubmitted:
type: number
description: Aggregate total of receivables submitted
volumeTraded:
type: number
description: Aggregate volume traded
defaultRate:
type: number
description: Default rate
averageYield:
type: number
description: Average yield
activeAuctions:
type: integer
description: Number of active auctions
GetApiHelpdeskTicketsResponse:
type: object
properties:
id:
type: string
entityId:
type: string
ticketNumber:
type: string
subject:
type: string
description:
type: string
status:
type: string
priority:
type: string
channel:
type: string
contactEmail:
type: string
contactName:
type: string
categoryId:
type: string
createdBy:
type: string
assignedTo:
type: string
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
firstResponseAt:
type: string
format: date-time
resolvedAt:
type: string
format: date-time
closedAt:
type: string
format: date-time
GetApiHelpdeskTickets497F6Eca62764993Bfeb53Cbbbba6F08Respons:
type: object
properties:
id:
type: string
entityId:
type: string
ticketNumber:
type: string
subject:
type: string
description:
type: string
status:
type: string
priority:
type: string
channel:
type: string
contactEmail:
type: string
contactName:
type: string
categoryId:
type: string
createdBy:
type: string
assignedTo:
type: string
createdAt:
type: string
updatedAt:
type: string
firstResponseAt:
type: string
resolvedAt:
type: string
closedAt:
type: string
messages:
type: array
description: List of message objects
securitySchemes:
bearer:
type: http
scheme: bearer
security:
- bearer: []
tags:
- name: Api