Cancelar Telegram programado
curl --request POST \
--url https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel"
req, _ := http.NewRequest("POST", 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))
}{
"success": true,
"message": "QR login job abort requested"
}{
"success": false,
"error": "Bad Request",
"message": "No API QR login job is running for this instance (dashboard stream is not cancelled here).",
"code": "TELEGRAM_QR_CANCEL_NOT_APPLICABLE"
}{
"success": false,
"error": "Unauthorized",
"message": "Invalid or missing API Key",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "Payment Required",
"message": "Plan expired or suspended",
"code": "WORKSPACE_BLOCKED"
}{
"success": false,
"error": "Forbidden",
"message": "Missing scope: telegram:instances:create",
"code": "FORBIDDEN"
}{
"success": false,
"error": "Not Found",
"message": "USER Telegram instance not found",
"code": "NOT_FOUND"
}Instâncias
Cancelar Telegram programado
Cancela algo que aún no salió — en cola o programado.
POST
/
v1
/
telegram
/
instances
/
{instanceId}
/
qr
/
cancel
Cancelar Telegram programado
curl --request POST \
--url https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/telegram/instances/{instanceId}/qr/cancel"
req, _ := http.NewRequest("POST", 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))
}{
"success": true,
"message": "QR login job abort requested"
}{
"success": false,
"error": "Bad Request",
"message": "No API QR login job is running for this instance (dashboard stream is not cancelled here).",
"code": "TELEGRAM_QR_CANCEL_NOT_APPLICABLE"
}{
"success": false,
"error": "Unauthorized",
"message": "Invalid or missing API Key",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "Payment Required",
"message": "Plan expired or suspended",
"code": "WORKSPACE_BLOCKED"
}{
"success": false,
"error": "Forbidden",
"message": "Missing scope: telegram:instances:create",
"code": "FORBIDDEN"
}{
"success": false,
"error": "Not Found",
"message": "USER Telegram instance not found",
"code": "NOT_FOUND"
}¿Esta página le ayudó?
⌘I

