REST API for listing media in a Speak AI workspace, with filters for media type, paging, sorting, and folder.

API

What your agent can do

  • If you are looking for a paginated, sorted and filtered listing of your media library.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://api.speakai.co/v1/media?mediaType=audio&page=1&pageSize=50&sortBy=createdAt%3Adesc&filterMedia=0&folderId=568sd56899

Authentication
Every Speak AI API call takes two headers: `x-speakai-key` with your API key, and `x-access-token` with an access token you generate from that key.

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked