Skip to main content

Create an Alexa skill, configure it, and configure Neo to use it (runs in background)

POST 

/v1/admin/integrations/alexa/auto-configuration

Automatic setup, used by the dashboard's Automatic tab and setup-auto. Each POST creates or replaces the deployment's skill configuration. The target skill is the deployment's live skill when the connected Amazon account can reach it, else a new skill created at Amazon; so repeating the call reconfigures the same skill instead of adding another. The skill is then configured at Amazon over SMAPI (manifest, endpoints, account linking), and Neo is configured to use it (invoke permission, AcceptGrant credentials, OIDC redirect URIs). The request returns the skill id immediately with status: IN_PROGRESS; the rest runs in the background (Alexa builds take 30-60s each, beyond the 29s request limit): grant a setup-only invoke permission, set the events + Smart Home endpoint manifest and wait for its build, register redirect_uris on the voice-assistant OIDC client, and set account linking against the ESP User provider. Only then does it make the skill live: replace the deployment's invoke permission and store its AcceptGrant credentials, so a failed run leaves a working skill untouched.

The response only confirms which skill is being configured. Poll config_status (an AlexaSetupStatus) on GET /v1/admin/integrations/alexa/configuration until it reports DONE or FAILED for this skill_id; a FAILED status carries the stage and error. The run authenticates to SMAPI as the Amazon account connected with PUT /v1/admin/integrations/alexa/lwa-connection, so connect one first. If LWA refuses the connected account's token, the account is disconnected and the request answers 400, so the dashboard offers to connect it again. Admin only.

Request​

Responses​

Skill created or reused; configuration running in the background