Baixar gravação
curl --request GET \
--url https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}"<string>"{
"success": false,
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"success": false,
"error": "Forbidden",
"message": "Missing scope: voice:call",
"code": "FORBIDDEN"
}{
"success": false,
"error": "<string>",
"message": "<string>",
"code": "<string>"
}Voice: Chamadas
Baixar gravação
Baixa o áudio gravado de uma ligação.
GET
/
v1
/
voice
/
calls
/
{id}
/
recordings
/
{recordingId}
/
download
Baixar gravação
curl --request GET \
--url https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/voice/calls/{id}/recordings/{recordingId}/download"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}"<string>"{
"success": false,
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"success": false,
"error": "Forbidden",
"message": "Missing scope: voice:call",
"code": "FORBIDDEN"
}{
"success": false,
"error": "<string>",
"message": "<string>",
"code": "<string>"
}Esta página foi útil?
⌘I

