Skip to content

Transcript V1



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": "content", // optional
"description": "content", // optional
"password": "content", // optional
"gtag": "Google analytics tag to track users", // optional
"favicon": "URL to the favicon", // optional
"image_restore": "True/False toggles if images should be restored if discord deletes them", // optional,
"domain": "The domain you want the URL to have" // optional
}


curl --location 'https://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"
}



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.



Returns a Transcript as an HTML File

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

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"
}