QuickLink
Get quick link state
Returns the hosted page state for a QuickLink. Public; the token in the URL is the credential. Starts the session on first read.
GET
/
quicklink
/
{token}
Get quick link state
curl --request GET \
--url https://api.polymorfa.com/quicklink/{token}const options = {method: 'GET'};
fetch('https://api.polymorfa.com/quicklink/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/quicklink/{token}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/quicklink/{token}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}false{
"data": {
"id": "<string>",
"status": "pending",
"expiresAt": "<string>",
"methods": [
"qr"
],
"defaultMethod": "qr",
"businessName": "<string>",
"headline": "<string>",
"description": "<string>",
"successMessage": "<string>",
"supportUrl": "<string>",
"privacyUrl": "<string>",
"termsUrl": "<string>",
"theme": "light",
"accent": "<string>",
"shape": "square",
"radiusPx": 123,
"logoUrl": "<string>",
"hideWatermark": true,
"historySync": "ask",
"prefillPhone": "<string>",
"customer": true,
"session": {
"status": "<string>",
"phone": "<string>"
},
"qrSvg": "<string>",
"errorCode": "<string>"
}
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}⌘I
Get quick link state
curl --request GET \
--url https://api.polymorfa.com/quicklink/{token}const options = {method: 'GET'};
fetch('https://api.polymorfa.com/quicklink/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/quicklink/{token}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/quicklink/{token}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}false{
"data": {
"id": "<string>",
"status": "pending",
"expiresAt": "<string>",
"methods": [
"qr"
],
"defaultMethod": "qr",
"businessName": "<string>",
"headline": "<string>",
"description": "<string>",
"successMessage": "<string>",
"supportUrl": "<string>",
"privacyUrl": "<string>",
"termsUrl": "<string>",
"theme": "light",
"accent": "<string>",
"shape": "square",
"radiusPx": 123,
"logoUrl": "<string>",
"hideWatermark": true,
"historySync": "ask",
"prefillPhone": "<string>",
"customer": true,
"session": {
"status": "<string>",
"phone": "<string>"
},
"qrSvg": "<string>",
"errorCode": "<string>"
}
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}{
"error": "<string>",
"docs": "<string>"
}