question

newuser-071d3c1a-fb2f-444f-adb5-baf89eec16fa avatar image

How to get access token of Alexa skill?

i have to add interaction model from my page and for that i am using skill management api(smapi), but for any post or get request i need access token. so is it possible to get token number.

i have also raised the request for API access,but client ID is not whitelisted yet.

alexa skills kitsmapi
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jenn@amazon avatar image
Jenn@amazon answered

The Access Token for the Authorization Header for REST API calls can be found in the cli_config file of the ask-cli environment.

  • Linux/Mac: ~/.ask/cli_config
  • Windows: %USERPROFILE%/.ask/cli_config

Here's the info on how to initialize the environment.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.