API Reference
Get current user
GET
https://api.captioned.carescribe.io/me
This endpoint allows you to see the information about the currently authenticated user.
Headers
Accept
string
Must be application/vnd.captioned.v1
Authorization
string
Bearer token. See Authentication docs.
{
"data": {
"id": "12345678-abcd-abcd-abcd-abcdef012345",
"type": "user",
"attributes": {
"email": "[email protected]",
"name": "Jane Doe",
"id": "12345678-abcd-abcd-abcd-abcdef012345"
}
}
}
Create a media object
POST
https://api.captioned.carescribe.io/medias
Creates a media object that provides you a signed URL to upload your media for transcription
Headers
Accept
string
Must be application/vnd.captioned.v1
Authorization
string
Bearer token. See Authentication docs.
Request Body
media
object
↳ content_type
string
Mime type of the data. Must be one of: "audio/mpeg", "audio/wav", "video/mp4", "video/mpeg" or "audio/aac"
{
"data": {
"id": "12345678-abcd-abcd-abcd-abcdef012345",
"type": "media",
"attributes": {
"uuid": "12345678-abcd-abcd-abcd-abcdef012345",
"signed_url_for_upload": "https://storage.googleapis.com/<some_signed_path>",
"content_type": "audio/mpeg"
}
}
}
Direct upload to Google Storage
PUT
https://storage.googleapis.com/:path
Upload your file directly to Google Cloud storage.
Path Parameters
path
string
The path is provided as part the signed_url_for_upload attibute when creating a media object. You should make your request to the whole URL provided.
Headers
Content-Type
string
Must be the same content type given when creating the media object.
Request Body
body
string
Binary contents of the file you are uploading
Empty
Create a transcription
POST
https://api.captioned.carescribe.io/transcriptions
Create a transcription from your Media object
Headers
Accept
string
Must be application/vnd.captioned.v1
Authorization
string
Bearer token. See Authentication docs.
Request Body
source
object
↳ type
string
Must be media
↳ id
string
The ID of the media to create a transcription for
{
"data": {
"id": null,
"type": "transcription",
"attributes": {
"id": "12345678-abcd-abcd-abcd-abcdef012345"
},
"relationships": {
"transcript_result": {
"data": null
},
"transcription_sessions": {
"data": [
{
"id": "12345678-abcd-abcd-abcd-abcdef012345",
"type": "transcription_session"
}
]
}
}
}
}
Retrieve a transcription
GET
https://api.captioned.carescribe.io/transcriptions/:id
Retrieve a previously created transcription
Path Parameters
id
string
The ID of the transcription you are requesting
Headers
Accept
string
Must be application/vnd.captioned.v1
Authorization
string
Bearer toke. See Authentication docs.
{
"data": {
"id": null,
"type": "transcription",
"attributes": {
"id": "12345678-abcd-abcd-abcd-abcdef012345"
},
"relationships": {
"transcript_result": {
"data": null
},
"transcription_sessions": {
"data": [
{
"id": "12345678-abcd-abcd-abcd-abcdef012345",
"type": "transcription_session"
}
]
}
}
}
}
Last updated
Was this helpful?