live-chat

GET /v1/chat/widgets/{widgetId}

One chat's settings and its AI allowance.

બધા live-chat એન્ડપૉઇન્ટ્સ

પ્રમાણીકરણ

એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે livechat.view પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

curl -X GET https://api.zinndigital.com/v1/chat/widgets/{widgetId} \
  -H "Authorization: Bearer zdk_live_…"

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

Requires `livechat.view` or `livechat.manage`.

પેરામીટર્સ

નામપ્રકારજરૂરીતે શું છે
widgetId (path)stringહા

જવાબ

નામપ્રકારજરૂરીતે શું છે
idstringહા
site_idstringહા
namestringહા
public_keystringહા
enabledbooleanહાWhether the chat renders. Created FALSE always: the plugin ships in the deploy footprint of every WordPress site we host, so a widget may exist for a customer who never asked fo…
allowed_originsstring[]હાOrigins the widget may be embedded on. An EMPTY list refuses every page rather than allowing any — this is the only control stopping somebody else's site opening conversations a…
tierstringહા
greetingstringહા
team_namestringહા
accent_colourstringહા
positionstring<left, right>હા
hide_brandingbooleanહા
ai_enabledbooleanહા
offline_emailstringહા
business_hoursobjectના
open_nowbooleanહા
ai_allowanceChatAiAllowanceહા
limitsobjectહા
premium_extra_codestringહાThe catalogue code to buy for the premium tier.

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 403 · 404