question

Harlee Dane Basilio avatar image
Harlee Dane Basilio asked

Is there another API similar to skill messaging API that does not require a user Id?

Is there another API similar to skill messaging API that does not require a user Id?

Or is there a way for skill messaging API to work without a userId?

I want to make use of skill messaging api(which requires a userId) to send message to the skill endpoint and trigger the proactive event api multicast(which does not require a user id) inside the skill code.


Thank you

skill messaginguserid
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

Andy Whitworth avatar image
Andy Whitworth answered

Hi, is there a specific reason you need to invoke Proactive Events from the skill endpoint ? Proactive Events can be invoked from external (to skill endpoint) code.

2 comments
10 |5000

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

Harlee Dane Basilio avatar image Harlee Dane Basilio commented ·

We want all alexa-specific apis inside the skill endpoint and only the skill messaging will be used outside.

0 Likes 0 ·
Andy Whitworth avatar image Andy Whitworth Harlee Dane Basilio commented ·
OK, well you could add another trigger type to your lambda endpoint and invoke the skill endpoint yourselves with a custom event. Intercept that event before the normal Alexa event processing takes place and call the Proactive Events API from your custom event handler.
0 Likes 0 ·