Routines Skill Manifest
The following example shows the skill manifest skill.json
file for custom triggers for routines.
apis
object for routines
The apis
object in the skill manifest contains information about the application programming interfaces (APIs) that your skill can use. For the Alexa Routines Trigger Instance API, the API name is routines
.
Field | Description | Type | Required |
---|---|---|---|
|
An array of the supported |
Object |
Required for |
|
The global default endpoint, which can be overridden on a region-by-region basis. For details, see endpoint. |
Object |
Required for |
regions
The regions
section contains an array of the <region>
objects.
Field | Description | Type | Required |
---|---|---|---|
|
Two-letter code for the geographic region, such as Note: In this release, only
NA is supported. |
enum |
Yes |
|
Region-specific endpoint details including Uniform Resource Identifier (URI) and SSL certificate type. |
Object |
Yes |
|
Region-specific Amazon Resource Name (ARN) for the custom Lambda function or HTTPS URL of the skill. |
String |
Yes |
|
The SSL certificate type for the skill's region-specific HTTPS endpoint. This field is only valid for HTTPS endpoints, not for AWS Lambda ARN. For details, see SSLCerfiticateType enumeration. Important: To get your skill certified and published, you can only use the
Trusted type. |
String |
Required for HTTPS URL only |
endpoint
Theendpoint
section sets the global default endpoint for events.
Field | Description | Type | Required |
---|---|---|---|
|
Amazon Resource Name (ARN) for your skill's custom Lambda function or HTTPS URL. |
String |
Yes |
|
The SSL certificate type for the HTTPS endpoint of your skill. This field is valid for HTTPS endpoints, not for AWS Lambda ARN. For details, see SSLCerfiticateType enumeration. Important: To get your skill certified and published, you can only use the
Trusted type. |
String |
Required for HTTPS URL only |
permissions
Make sure that you include permissions
in your manifest. permissions
accepts an array of named permissions that your skill can use. You must include at least one permission setting. For valid permission settings, see Skill Manifest Schema permissions.
If you don't include permissions
in your skill.json
, your skill can't display the Alexa clientID
and clientSecret
in the developer console. You need the skill's clientID
and clientSecret
for skill messaging, so you can send out-of-session events to your skill. For details, see Call Alexa Service APIs Out of Session With Node.js.
Related topics
Last updated: Nov 27, 2023