Document editor
Create a link to the document editor
URL: POST https://api.scriptix.io/api/v3/reseller/customer/{customerId}/transcript/{sessionId}/document/{documentId}/sso-edit-token
Path parameters
The following path parameters need to be present
Parameter | Description |
---|---|
customerId | Customer ID |
sessionId | Scriptix Transcript Session ID |
documentId | Scriptix Document ID |
Request headers
The following headers need to be present
Parameter | Value | Description |
---|---|---|
content-type | application/json | |
x-zoom-s2t-key | Scriptix Reseller API Token | API key of type reseller needed for authorization |
JSON Body Schema
Key | Type | Description |
---|---|---|
audio_url | string |
(Optional) URL to media file which belongs to the transcription. |
JSON Payload
{
"audio_url": "https://www.example.com/path/to/mp3",
}
Responses
Status code | Description |
---|---|
200 | Editor information |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Server Error |
HTTP 201 Created
Content-type: application/json
Response: APIResultResponse<SsoTokenResponse>
JSON Response
{
"result": {
"access_token": "ASw4j89asj4uosjalkf5.........",
"token_type": "bearer",
"expires_in": 14400,
"editor_url": "https://api.scriptix.io/editor/?token=ASw4j89asj4uosjalkf5........."
},
"count": 1,
"total_results": 1
}