Make a speaker history and TTL request
Learn how to make a server-side recording request with speaker time-to-live and history.
Read time 1 minuteLast updated 2 days ago
The following code displays an example of how to pull 10 minutes of data for the target speaker. It gets 5 minutes of data in the past from the subscription time and continues to get data for 5 minutes into the future.
curl -x POSThttp://{{host}}/ssr/subscribe?auth_token={{auth_token}}&history=5&destination_credentials={"bucket":"bucket-name","access_key_id":"aws-access-id","secret_access_key":"aws-secret-key"}&target_uri=sip:.issuer.speaker.@domain.vivox.com&target_type=speaker&ttl=5