GET /projects/{project_id}/mail/onboarding
Load or start Galon Mail onboarding
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required |
Responses
| Status | Description | Body |
|---|---|---|
200 | Current step, question and quote | |
404 | Project not found |
Examples
curl
curl -X GET "$GALON_API_BASE/projects/<project_id>/mail/onboarding" \
-H "Authorization: Bearer $GALON_API_KEY"POST /projects/{project_id}/mail/onboarding
Reply to the onboarding assistant
The text is used only for a closed transition and is not persisted. Confirmation requests an activation but triggers neither payment nor sending.
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required |
Request body
application/json · schema MailOnboardingAnswer
| Field | Type | Description |
|---|---|---|
version | integer · required | |
message | string · required | Ephemeral response; it is never stored in the database. |
Responses
| Status | Description | Body |
|---|---|---|
200 | Onboarding updated | |
409 | Stale version | |
422 | Invalid parameters | Error |
Examples
curl
curl -X POST "$GALON_API_BASE/projects/<project_id>/mail/onboarding" \
-H "Authorization: Bearer $GALON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"version": 1, "message": "string"}'