Galon Cloud
Galon API v1

/projects/{project_id}/mail/onboarding

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /projects/{project_id}/mail/onboarding

Load or start Galon Mail onboarding

Console session only (signed-in console).

Parameters

NameInTypeDescription
project_idpathstring · required

Responses

StatusDescriptionBody
200Current step, question and quote
404Project 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

NameInTypeDescription
project_idpathstring · required

Request body

application/json · schema MailOnboardingAnswer

FieldTypeDescription
versioninteger · required
messagestring · requiredEphemeral response; it is never stored in the database.

Responses

StatusDescriptionBody
200Onboarding updated
409Stale version
422Invalid parametersError

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"}'