Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training

Create callback function for add-on async api

The lifespan of this function is 24 hours - after that the function will be deleted

post

https://papi.pepperi.com/v1.0/addons/api/async_callback
Creates a callback function to be used in the async api as a callback parameter
Request
Response
Request
Body Parameters
callback
optional
string
the callback code
Response
200: OK
callback_uuid

callback code must contain an exported function named "callback"

the callback function will be called with the three objects:

the client object, request object, response object

in case of exception inside the code job or timeout - the response object will be {success: "Exception", errorMessage: excption_message, resultObject: null}