Live streamings
Create live streaming key
This endpoint allows you to create a new live streaming key.
POSThttps://api.aiozstream.network/api/live_streams
Headers
Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here
Body
name* Live streaming's key name
save Whether the live streaming should be saved after streaming (default: false)
Response
200: Created
curl --location --request POST 'https://api.aiozstream.network/api/live_streams' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Authorization: Bearer <YOUR_JWT_TOKEN>' \
-H 'content-type: application/json' \
-d '{
"name": "test",
"save": true
}' \
-i
List live streaming keys
This endpoint retrieves a list of all your live streaming keys.
GEThttps://api.aiozstream.network/api/live_streams
Query
limit The maximum number of records to return (default: 25, max: 100)
offset The number of records to skip before starting to return results (default: 0)
sort_by The field to sort by (default: created_at, allowed: created_at, updated_at, title, size)
order_by The sort order (default: desc, allowed: asc, desc)
Headers
Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here
Response
200: OK
curl 'https://api.aiozstream.network/api/live_streams' \
-H 'accept: application/json, text/plain, */*' \
-H 'authorization: Bearer <YOUR_JWT_TOKEN>' \
--data-raw '{"limit":10,"offset":0,"sort_by":"created_at","order_By":"desc"}' \
Get live streaming key details
This endpoint retrieves the details of a specific live streaming key.
GEThttps://api.aiozstream.network/api/live_streams/:id
Parameters
id* The unique identifier of the live streaming key
Headers
Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here
Response
200: OK
curl --location 'https://api.aiozstream.network/api/live_streams/:id' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: Bearer <YOUR_JWT_TOKEN>'
Update live streaming key
This endpoint allows you to update the information of a live streaming key.
PUThttps://api.aiozstream.network/api/live_streams/:id
Parameters
id* The unique identifier of the live streaming key
Headers
Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here
Body
name* The name of the live streaming key.
save Whether the live streaming should be saved after streaming (default: false)
Response
200: OK
curl --location --request PUT 'https://api.aiozstream.network/api/live_streams/:id' \
--header 'accept: application/json' \
--header 'Authorization: Bearer <YOUR_JWT_TOKEN>' \
--data '{
"name": "live_streaming_name",
"save": true
}'
Delete live streaming key
This endpoint allows you to delete a specific live streaming key.
DELETEhttps://api.aiozstream.network/api/live_streams/:id
Parameters
id* The unique identifier of the live streaming key
Headers
Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here
Response
200: OK
curl --location --request DELETE 'https://api.aiozstream.network/api/live_streams/:id' \
--header 'accept: application/json' \
--header 'Authorization: Bearer <YOUR_JWT_TOKEN>'