API reference
Investor shares
Links that share the closed months with an investor, read-only, and when each was last opened.
- GET
/v1/investor_sharesList the links the books are shared with investors by - POST
/v1/investor_sharesShare the books with an investor through a link - GET
/v1/investor_shares/{share_id}Get an investor link and when it was last opened - DELETE
/v1/investor_shares/{share_id}Revoke an investor link
Guides: Share your books with investors
List the links the books are shared with investors by
GET/v1/investor_shares
client.investorShares.list()
The links these books are shared with investors by, the newest first, each with when it was last opened.
Parameters
| Name | Type | Description |
|---|---|---|
statusQuery | string or null | Only live, expired, revoked |
limitQuery | integer | Page size, 1–200. |
cursorQuery | string or null | The |
Response
Errors
- 400
- The request was malformed or a parameter is invalid.
- 401
- No valid credential was sent.
- 403
- The credential or the member's role does not allow this.
- 404
- No such resource in this ledger.
- 409
- A conflicting request, e.g. one with the same Idempotency-Key still running.
- 422
- A well-formed request a business rule refused.
- 429
- Too many requests; retry after the Retry-After header.
- 500
- Something failed on our side; the request_id identifies it.
Example
curl "https://api.ledgerit.ai/v1/investor_shares" \
-H "Authorization: Bearer $LEDGERIT_TOKEN"Share the books with an investor through a link
POST/v1/investor_shares· Idempotent
client.investorShares.create()
Share these books with an investor through a link. The link opens a read-only page of the closed months — the board packs, the statements, or both — with no account needed, until it expires or is revoked. The answer carries the link's token and address once; nothing is emailed.
Request body
Response
Errors
- 400
- The request was malformed or a parameter is invalid.
- 401
- No valid credential was sent.
- 403
- The credential or the member's role does not allow this.
- 404
- No such resource in this ledger.
- 409
- A conflicting request, e.g. one with the same Idempotency-Key still running.
- 422
- A well-formed request a business rule refused.
- 429
- Too many requests; retry after the Retry-After header.
- 500
- Something failed on our side; the request_id identifies it.
Example
curl -X POST "https://api.ledgerit.ai/v1/investor_shares" \
-H "Authorization: Bearer $LEDGERIT_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"investor_name":"…"}'Get an investor link and when it was last opened
GET/v1/investor_shares/{share_id}
client.investorShares.get()
One investor link: who it is for, what it shows, and when it was last opened. Its token is not in it: that is shown once, when it is made.
Parameters
| Name | Type | Description |
|---|---|---|
share_idPath · Required | string | An id that starts with |
Response
Errors
- 400
- The request was malformed or a parameter is invalid.
- 401
- No valid credential was sent.
- 403
- The credential or the member's role does not allow this.
- 404
- No such resource in this ledger.
- 409
- A conflicting request, e.g. one with the same Idempotency-Key still running.
- 422
- A well-formed request a business rule refused.
- 429
- Too many requests; retry after the Retry-After header.
- 500
- Something failed on our side; the request_id identifies it.
Example
curl "https://api.ledgerit.ai/v1/investor_shares/{share_id}" \
-H "Authorization: Bearer $LEDGERIT_TOKEN"Revoke an investor link
DELETE/v1/investor_shares/{share_id}
client.investorShares.revoke()
Revoke a link: from now on it opens nothing, and files already downloaded keep the watermark naming who they were shared with. A link is revoked, never erased, so the record of who was shown what stays. Revoking a revoked link changes nothing.
Parameters
| Name | Type | Description |
|---|---|---|
share_idPath · Required | string | An id that starts with |
Response
Errors
- 400
- The request was malformed or a parameter is invalid.
- 401
- No valid credential was sent.
- 403
- The credential or the member's role does not allow this.
- 404
- No such resource in this ledger.
- 409
- A conflicting request, e.g. one with the same Idempotency-Key still running.
- 422
- A well-formed request a business rule refused.
- 429
- Too many requests; retry after the Retry-After header.
- 500
- Something failed on our side; the request_id identifies it.
Example
curl -X DELETE "https://api.ledgerit.ai/v1/investor_shares/{share_id}" \
-H "Authorization: Bearer $LEDGERIT_TOKEN"Objects
The objects these operations take and return.
InvestorSharePage
| Name | Type | Description |
|---|---|---|
dataRequired | array of InvestorShareOut | |
has_moreRequired | boolean | |
next_cursorRequired | string or null |
InvestorShareCreate
| Name | Type | Description |
|---|---|---|
expires_at | string (date-time) or null | When the link stops working. Left out, it works until it is revoked. |
investor_email | string or null | Their address, for the founder's own record. LedgerIt sends nothing to it. |
investor_firm | string or null | Their firm or fund. |
investor_nameRequired | string | Who the link is for, as the founder knows them. |
scope | array of string | What the link shows: board_packs, statements |
InvestorShareCreatedOut
A link just made, with the one copy of its token there will be.
| Name | Type | Description |
|---|---|---|
created_atRequired | string (date-time) | |
created_byRequired | string or null | An id that starts with |
expires_atRequired | string (date-time) or null | When it stops working; null for a link with no expiry. |
idRequired | string | The link's id. Its token is never shown again after it is made. |
investor_emailRequired | string or null | Their address, when one was given. Nothing is sent to it. |
investor_firmRequired | string or null | Their firm or fund, when one was given. |
investor_nameRequired | string | Who the link is for. |
last_viewed_atRequired | string (date-time) or null | When the investor last opened it; null if never. |
revoked_atRequired | string (date-time) or null | When it was revoked. |
revoked_byRequired | string or null | An id that starts with |
scopeRequired | array of string | What the link shows of each closed month: board_packs, statements |
statusRequired | string |
live, expired, revoked |
tokenRequired | string | The link's secret. Shown once: LedgerIt keeps only its SHA-256, so it cannot be shown again. A retry of the same request with the same Idempotency-Key within a day returns it again. |
urlRequired | string | The investor's page: send them this. |
view_countRequired | integer | How many times it was opened. |
InvestorShareOut
A link that shares these books' closed months with one investor.
| Name | Type | Description |
|---|---|---|
created_atRequired | string (date-time) | |
created_byRequired | string or null | An id that starts with |
expires_atRequired | string (date-time) or null | When it stops working; null for a link with no expiry. |
idRequired | string | The link's id. Its token is never shown again after it is made. |
investor_emailRequired | string or null | Their address, when one was given. Nothing is sent to it. |
investor_firmRequired | string or null | Their firm or fund, when one was given. |
investor_nameRequired | string | Who the link is for. |
last_viewed_atRequired | string (date-time) or null | When the investor last opened it; null if never. |
revoked_atRequired | string (date-time) or null | When it was revoked. |
revoked_byRequired | string or null | An id that starts with |
scopeRequired | array of string | What the link shows of each closed month: board_packs, statements |
statusRequired | string |
live, expired, revoked |
view_countRequired | integer | How many times it was opened. |