Full Endpoint URL
GET /list/
This endpoint retrieves a list of documents filtered by since, account_id, and crm. Only documents in the “Reviewed” status will be returned.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
crm | string | Yes | The CRM source. Must be a valid CRM (curo, xplan, plannr, intelliflo). |
since | string | No | Return documents created or updated since this datetime (ISO 8601 format). |
account_id | string | No | Filter documents associated with the given account ID. At least one of since or account_id must be provided. |
limit | int | No | Number of documents to return (default: 2, maximum: 20). |
offset | int | No | Starting point for the query (default: 0). |
Request Example
Response Example
Result Fields Description
Each object in theresults array contains the following fields:
| Field | Description |
|---|---|
document_id | The unique identifier for the document associated with the meeting notes within Saturn. |
document_name | The name of the document, typically describing the purpose or content of the document (e.g., “Meeting Notes for Client ABC”). |
advisor_id | The internal ID of the advisor in Saturn associated with this document. |
curo_advisor_id | The external ID of the advisor in the CRM (e.g., curo, xplan, etc.) that the advisor was sourced from. |
curo_account_id | The external account ID in the CRM where the document or the associated data was originally linked. |
client_ids | A list of internal IDs in Saturn for the clients associated with this document. |
curo_client_ids | A list of external client IDs in the CRM (e.g., curo, xplan, etc.) for the clients linked to this document. |
Error Responses
- 403 Bad Request: Invalid or missing query parameters.
- 404 Not Found: No documents match the given filters.
- 500 Internal Server Error: Unexpected error during processing.
GET /download/
Only documents in the Reviewed status can be downloaded. If the document is not in Reviewed status, an error message is returned, indicating the document’s current status.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| document_id | string | Yes | The unique ID (saturn id) of the document you want to download. |
Request Example
Response Example
When the document is successfully retrieved and eligible for download, a word file.docx is returned as the response. The content of the file will include the meeting notes structured and formatted for readability.
Response Type
| Header | Value |
|---|---|
Content-Type | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
Content-Disposition | attachment; filename=document_name.docx |
Example File Content
Below is an example of the content generated in the.docx file:
