Frequently Asked Questions

Do I need to setup and manage an SSL Certificate when using AWS Lambda?

No - When using AWS Lambda you don't need to manage any SSL certificates as ServiceM8 invokes your Lambda function directly.

How do I authenticate against the ServiceM8 API within my function?

Authentication within add-on functions is provided by the ServiceM8 Simple Token Service - which will provide you with a temporary OAuth token for authentication each time your function is invoked, greatly simplifying authentication.

What are the limitations of Simple Functions?

ResourceLimit
Maximum execution duration per request15 seconds
Maximum Memory per request128 MB
Languages SupportedNode.js (JavaScript)

How can I switch back to the ServiceM8 iOS app after launching from an action?

ServiceM8's app supports iOS Universal Links, so you can open the following url from your iOS app/website to return to the app:

https://go.servicem8.com/app/launch