Przejdź do głównej zawartości

Transcript V1

Ta treść nie jest jeszcze dostępna w Twoim języku.



Creates or Modifies an existing Transcript


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


ParameterTypeRequiredDescription
channel_id integer YesYour channel ID


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

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

<Transcript URL>/download
https://www.cookie-api.com/transcripts/example/1308823896161648711-example-transcript.html/download

Deletes a Transcript


DELETE <Transcript URL>/delete



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

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