Full Endpoint URL
Create Advisor
POST /create/
This endpoint creates a new advisor in the Saturn platform. Create an advisor by providing their details, including the CRM source and a unique advisor ID from that CRM.
Mandatory Fields
| Field | Type | Description |
|---|---|---|
first_name | string | First name of the advisor. |
last_name | string | Last name of the advisor. |
email | string | Email address of the advisor. |
crm | string | CRM source (e.g., curo, xplan, plannr, intelliflo). |
id | string | Unique advisor UUID from the CRM source. |
Request Example
Response Example Status Code: 201
Error Responses
- 409 Conflict: Advisor with the same
idalready exists.
- 400 Bad Request: Missing mandatory fields
Assign Advisor
POST /assign/
This endpoint assigns an advisor to an account or clients in the Saturn platform. The assignment links the advisor to specific accounts or clients based on their CRM IDs.
Mandatory Fields
| Field | Type | Description |
|---|---|---|
crm | string | CRM source (e.g., curo, xplan, plannr, intelliflo). |
advisor_id | string | Last name of the advisor. |
assign_to | array | List of objects specifying the type (account) and the ID. |
Request Example
Response Example Status Code: 201
Error Responses
- 404 Not Found: Advisor not found.
- 400 Bad Request: Missing mandatory fields
Retrieve Advisor
GET /
This endpoint retrieves an advisor by either their email address or CRM-specific ID.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | No* | Email address of the advisor to retrieve. Cannot be used together with id parameter. |
id | string | No* | CRM-specific ID of the advisor to retrieve. Cannot be used together with email parameter. |
email or id must be provided.
Request Example with Email
Request Example with ID
Response Example Status Code: 200
Error Responses
- 400 Bad Request: Missing CRM header or both email and id parameters
- 404 Not Found: Advisor not found with the provided email or ID