DEVELOP GUIDES
Working with Events and presignedUrl
4min
Events and presignedUrl requires partners to provide webhook for Klavi event reception, and proactively obtain analysis result files based on the presignedUrl in the event.
Partners need to configure the following information in the Console:
- Events receiving method(Push/Pull)
- Webhook for event reception(If push events method)
- Encryption Options(Yes/No)
The above information can also be provided to Klavi business personnel for Klavi to fill in.
After Klavi completes the data analysis, it will send notifications to the configured webhooks.
Parse the above event and obtain the presignedUrl of the sharing file.
The default lifecycle of presignedUrl is 1 day (24 hours), starting from eventTime. Partners need to complete file retrieval before the end of the lifecycle, otherwise the URL will become invalid.