QuickLink
Confirm quick link
Records consent, applies the chat-history choice, assigns Customer ownership when applicable, and returns the redirect target.
POST
/
quicklink
/
{token}
/
confirm
Confirm quick link
curl --request POST \
--url https://api.polymorfa.com/quicklink/{token}/confirm \
--header 'Content-Type: application/json' \
--data '
{
"historySync": true
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({historySync: true})
};
fetch('https://api.polymorfa.com/quicklink/{token}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/quicklink/{token}/confirm"
payload = { "historySync": True }
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.polymorfa.com/quicklink/{token}/confirm"
payload := strings.NewReader("{\n \"historySync\": true\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))
}false{
"data": {
"status": "connected",
"phone": "<string>",
"historySync": true,
"redirectUrl": "<string>"
}
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}Path Parameters
Opaque token required by the target operation. Opaque QuickLink token from the hosted URL.
Body
application/json
History synchronization behavior for newly connected sessions.
Response
Connected
Structured data carried by this object.
Show child attributes
Show child attributes
⌘I
Confirm quick link
curl --request POST \
--url https://api.polymorfa.com/quicklink/{token}/confirm \
--header 'Content-Type: application/json' \
--data '
{
"historySync": true
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({historySync: true})
};
fetch('https://api.polymorfa.com/quicklink/{token}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/quicklink/{token}/confirm"
payload = { "historySync": True }
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.polymorfa.com/quicklink/{token}/confirm"
payload := strings.NewReader("{\n \"historySync\": true\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))
}false{
"data": {
"status": "connected",
"phone": "<string>",
"historySync": true,
"redirectUrl": "<string>"
}
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}