Verificar domínio de e-mail
curl --request POST \
--url https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify \
--header 'Content-Type: application/json' \
--data '
{
"sessionToken": "<string>",
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({sessionToken: '<string>', code: '<string>'})
};
fetch('https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify"
payload = {
"sessionToken": "<string>",
"code": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify"
payload := strings.NewReader("{\n \"sessionToken\": \"<string>\",\n \"code\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Widget público
Verificar domínio de e-mail
Confere se o DNS está correto para liberar o domínio para envio.
POST
/
public
/
ai-widget
/
{publicKey}
/
session
/
otp
/
verify
Verificar domínio de e-mail
curl --request POST \
--url https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify \
--header 'Content-Type: application/json' \
--data '
{
"sessionToken": "<string>",
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({sessionToken: '<string>', code: '<string>'})
};
fetch('https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify"
payload = {
"sessionToken": "<string>",
"code": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/public/ai-widget/{publicKey}/session/otp/verify"
payload := strings.NewReader("{\n \"sessionToken\": \"<string>\",\n \"code\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Esta página foi útil?
⌘I

