Skip to content

Transcript V1



Create/Modify a Transcript

Creates or Modifies an existing Transcript


POST /api/transcript
Terminal window
https://api.cookie-api.com/api/transcript


URL Parameters
channel_idYour Channel ID

{
"bot_token": "Your Bot's Token",
"title": "contnet", //optional
"description": "content", //optional
"password": "content" //optional
}


curl --location 'http://api.cookie-api.com/api/transcript?Authorization=API_Key&channel_id=Channel_ID' \
--header 'Content-Type: application/json' \
--data '{
"bot_token": "Bot Token"
}'

Responses
{
"success": true,
"message": "Transcript was created/modified",
"url": "https://www.cookie-api.com/transcripts/example/1308823896161648711-example-transcript.html"
}



View a Transcript

To view a transcript, use the URL provided by the ‘Create a Transcript’ endpoint. If you’ve lost that URL, you can view all your transcripts in the Transcript module on the dashboard.



Download a Transcript

Returns a Transcript as an HTML File

GET /api/transcript/download
Terminal window
https://api.cookie-api.com/api/transcript/download

Delete a Transcript

Deletes a Transcript


DELETE <Transcript URL>/delete


curl --location --request DELETE 'https://api.cookie-api.com/transcripts/1025427725021872158/1266812795920322673-example.html/delete?Authorization=API_Key'

Responses
{
"success": true,
"message": "Transcript deleted successfully"
}