Skip to main content
Version: 1.0.0

Get all Clips

This endpoint retrieves all clips within the given project. It is paginated, so it requires a page query parameter.

HTTP Request

GET https://app.resemble.ai/api/v1/projects/<project_uuid>/clips?page=<page>

URL ParameterDescription
project_uuidThe uuid of the project to fetch
page(A query parameter) The page to fetch

HTTP Response

{
"current_page": 0,
"page_count": 0,
"pods": [
{
"uuid": "7ff0ffa",
"project_id": 1,
"title": "test clip 2",
"body": "<speak><p>this is a test</p></speak>",
"updated_at": "2018-09-03T03:33:33.000Z",
"created_at": "2018-09-03T03:33:33.000Z",
"finished": true,
"link": "https://s3.resemble.ai/audio.wav",
"voice": "7000abc",
"phoneme_timestamps": {
"phonemes": "^ðɪs ɪz ɐ tɛst.~",
"end_times": [0.05, 0.062, 0.137, 0.249, 0.324, 0.387, 0.449, 0.511, 0.561, 0.624, 0.673, 0.773, 0.935, 1.035, 1.122, 1.21],
"phoneme_chars": ["^", "ð", "ɪ", "s", " ", "ɪ", "z", " ", "ɐ", " ", "t", "ɛ", "s", "t", ".", "~"]
}
}
]
}

Examples

Remember

Make sure you replace YOUR_API_TOKEN with your own!

cURL

curl "https://app.resemble.ai/api/v1/projects/<project_uuid>/clips?page=<page>" \
-H "Authorization: Token token=YOUR_API_TOKEN"

Python

import requests

url = "https://app.resemble.ai/api/v1/projects/<project_uuid>/clips?page=<page>"
headers = {
'Authorization': 'Token token=YOUR_API_TOKEN',
'Content-Type': 'application/json'
}

response = requests.get(url, headers=headers)