REST API‎ > ‎Media Management‎ > ‎

Get Media IDs

This method retrieves all media IDs for an application.

Method: GET
URI: /api/rest/media

Query parameter:
  • appkey  The application key.
Returns:
  • OK(200)  Success.
  • BAD_REQUEST(400)  The application key is invalid.
Response format: JSON

Example using curl:

curl https://api.telesocial.com/api/rest/media?appkey=656c4ecb-bdd1-4a5c-8d72-6e13623f240c

Response body

{"MediaidListResponse":{"message":"1 recorded, 2 uploaded","status":200,"recorded":"74aaa35d375940758e6a1c4c8a766715","uploaded":"12a9975704334f299b79ec7a35ab39ea","569b4b896974ff7840ae8d40f35f4c3"]}}